ajaxasynchronousloading

Loading web site content Asynchronously


My question I think is pretty simple... I have some elements that for arguments sake have individual loading times of 1 second. Lets assume I have 10 of them. Instead of waiting 10 seconds for all the elements to load in order to get the content, is there any way I could load all that content one by one as it becomes ready?

For the record, I am using app engine (Python).

I good example of what I am asking would be the following:

Right now I have an iframe containing 12 slowly loading elements. The iframe loads after the page loads, but takes 10 seconds for the iframe to load. What I am trying to do is simply get each element to load as it becomes available (it doesn't have to be in an iframe). Sorry if that was extremely vague.


Solution

  • The answer is Ajax, look into jquery for a framework which simplifies such actions.