Can an Ajax call complete before the DOM is loaded?
Posted
by Ek0nomik
on Stack Overflow
See other posts from Stack Overflow
or by Ek0nomik
Published on 2010-05-11T16:03:16Z
Indexed on
2010/05/11
16:04 UTC
Read the original article
Hit count: 159
I am grabbing data through a jQuery Ajax call, and displaying it on the page. I need to wait for both the DOM to load and for the Ajax call to complete before I can use the data to display it on the page. Can an Ajax call ever complete before the DOM has loaded? I'm just trying to determine where I need to put my method that will manipulate the DOM and use the data I'm getting back.
© Stack Overflow or respective owner