Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Mozilla - minor problem
03-19-2005, 04:18 PM #1
- Join Date
- Mar 2005
- Thanked 0 Times in 0 Posts
Mozilla - minor problem
I have written a js include that reads in an xml file and parses it. However I am having some minor problems!
I have loaded an XML file a method I have created, then once the document is loaded, I call a function that will parse the xml file:
The first line of code in the XML parsing method is :
However this line of code does not work unless I place an alert() popup just before this line ( the length is 0, if i put in the alert() the length is 10!!) It seems like a delay is required to give the xml document a chance to load, but I have tried putting in a while loop instead of an alert, but this does not work.
03-19-2005, 09:56 PM #2