wait till page is fully rendered before collecting information.
Hi
I am trying reload a div on a page with content from another page using ajax.
I am able to do this but the problem is that I need to wait for the page (that I am sending an ajax request to) to finish inputing all the relevant html before it is shown on the page calling the ajax otherwise the re-load of the div will not be up-to-date.
Any ideas welcome
(Here is my code)
- $('.addbskt').click(function(){
$.ajax({
type: 'GET',
url: this.href,
success: $(".additionalcorethree").load("bsk .additionalcorethree"),
});
Thank you :)