How to detect when a website which uses AJAX is completely loaded?
问题 For a website, which doesn't use AJAX I'm using OnDocumentComplete event to know when the page loading is complete. My question is, how can I detect when website, which uses AJAX requests is ready (e.g. when a website which is fetching some search results by using AJAX finished its work) ? 回答1: Ok here is a trick i developed my self. 1-in your html page make a div and set its text to "false". 2-in you server side put a javascript at the end of your returning code. for example your site