<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=193205716-25072007><FONT face=Arial
color=#0000ff size=2>I bet you're right. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=193205716-25072007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=193205716-25072007><FONT face=Arial
color=#0000ff size=2>I wonder if there's a way to randomly name the request
objects..</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> javascript-bounces@LaTech.edu
[mailto:javascript-bounces@LaTech.edu] <B>On Behalf Of </B>Peter
Brunone<BR><B>Sent:</B> Wednesday, July 25, 2007 11:54 AM<BR><B>To:</B>
javascript@LaTech.edu<BR><B>Subject:</B> re: [Javascript] Multiple ajax calls
onload<BR></FONT><BR></DIV>
<DIV></DIV>If I had to guess from this limited information, I'd say you have
only one request object which is loading each piece in turn and overwriting the
previous one in memory, so only the last one is
noticed.<BR><BR>FWIW...<BR><BR>Peter<BR><BR><FONT
face="Tahoma, Arial, Sans-Serif" size=2>
<HR align=center width="100%" SIZE=2>
<B>From</B>: "Murphy, Matt" <A
href="mailto:Matt.Murphy@thermofisher.com">Matt.Murphy@thermofisher.com</A><BR></FONT><BR><BR>All,
<BR><BR>I thought I had this ingenious idea, to make a slow-loading page
load<BR>faster, I'd break up the sections into divs, and then call a series
of<BR>ajax functions to populate those divs asynchronously. <BR><BR>Problem is,
only the last one called shows up. I can see in the firefox<BR>error log that
both document.getElementById('mydiv').innerHTML="myhtml"<BR>calls ran, (the
output of the php scripts called) but only one showed<BR>up. <BR><BR>Here's the
js I'm using to call my ajax functions:<BR><BR><BR><BR><BR><BR>Should this work?
Is there a better way? <BR><BR>Thanks,<BR><BR></BODY></HTML>