How can i check if one html is being fully loaded ? And then i want to do something. If:
$('#load').html(1);
is ended i want to wait couple of seconds and then load another
$('#load').html(2);
How can i see when an html is being fully loaded ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
html()is a synchronous operation.The second html function wont start until the first is complete. Unless the html is loading some dynamic content?
EDIT:
It is loading dynamic content. In which case you could do this instead: