The Ajax requests may be after the loadFinished() event.
You can NOT reliably check this.
Consider the extreme example: //using jQuery
$(document).ready( function(){
setTimeout(function(){ doAjaxLoad();}, 500000);
});
But normally, you may subclass QNetworkRequest, to watch: if there is no
more active/pending requests, then page load is done!
发件人: [email protected]
[mailto:[email protected]] 代表 Frank
发送时间: 2013年11月4日 7:39
收件人: [email protected]
主题: [webkit-qt] how to get information when all the ajax requests are
responsed
Hi all:
I have a question. After a web page has been loaded, the webpage is dragged
to the end of the page to invoke serials of ajax request. The Ajax requests
may change the content of the page. How can I be informed when all the
requests have been responsed?
_______________________________________________
webkit-qt mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-qt