53
rated 0 times
[
59]
[
6]
/ answers: 1 / hits: 19955
/ 12 Years ago, mon, june 11, 2012, 12:00:00
I have an html which mostly builds itself on page load, it works perfectly when I run it independently , but I need to put this html inside another html's div, I do this using ajax/jquery's .load function
i.e $('#myDiv').load('myHtml.html')
but loading it this way in the div doesn't trigger the body onload event and the page is not properly build. Can you suggest how I can somehow trigger the body onload function or some other way to achieve the same
More From » jquery