Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I load an XML file in NetScape

Status
Not open for further replies.

Goiga

Programmer
Apr 2, 2002
2
CO
I'm working in JavaScript, an I need to load XMLs Files in listBoxes, so I create a document with 3 listBoxes and I invoke a function which evaluate if I'm Working in NetScape or in IE, if I'm Working in Netscape I do this instruction for create a document (xmlDoc1 = document.implementation.createDocument("", "", null);) and after I invoke another function incio1(xmlDoc1.onload = incio1;) when the event onload is fired, in this function I create an array of all the tags in the XML document. For each of these tags I want to create an OPTION containing the data from the XML file. But when I execute this, NetScape only loads the last one listBox, in IE it works well, so I need to know how can I load severals XMLs files into several listboxes.

When I work in IE, it has a property async, and it let me load all the XML files, but in NetScape doesn't exist a property like asyn, so, how can I simulate this property in NetScape?

Thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top