So then, I'll also have to repeat the functions right before the function load() using different variables? For some reason, I don't get it, the sidebar has completely gone away right now. I changed the variable names and commented out the attempt to read the second xml file and I expected to get the original sidebar.
On Aug 4, 7:08 pm, Andrew Leach <[email protected]> wrote: > On Aug 4, 10:55 pm, rquintal <[email protected]> wrote: > > > It seems like the easiest thing to do would be to load three separate > > xml files so that I can also use document.write commands to separate > > the entries. So, I tried to use GXmlHttp.create(), and all of the > > parsing that goes along with it, to open two separate files but only > > one opened. > > That's probably because you re-use your "request" variable and only do > request.send once. Because GXmlHttp is asynchronous, you shouldn't re- > use the same variable for both requests (they will both be "in flight" > at the same time); and you will definitely need to .send both of them. > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
