View Full Version : Solution to multiple divs at once?

05-16-2007, 03:45 AM
1) Script Title: Reference to: http://www.dynamicdrive.com/forums/showthread.php?t=7878&highlight=dynamic+ajax+content+multiple

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem:
The question was whether or not it was possible to load multiple pages at once such as:
ajaxpage('page1.htm', 'container1'); ajaxpage('page2.php', 'container2'); etc etc

the initial answer was: ...with the current script as is, trying to fetch multiple contents simultanously won't work, at least not reliabily at all. Unfortunately there's no easy way to do this currently, at least not until I rewrite the script to accomodate this...

Would a temporary work around be to try to use the setTimeout() function to load them one at a time? is this idea completely ridiculous?