PDA

View Full Version : [JS] Document.getelementbyid has no properties?



Entity_Razer
08-12-2006, 04:28 AM
hi all.

i'm building a webbie for a schoolproject and I ran into some trouble while parsing XML.

I'll upload the files so you can see what i'm talking about

but the problem:

i'm gonna load my text for my pages out of different XML files (its in the assignment... so can't do it any other way)

And I am almost done with the XML parses but I get errors in both IE and in FF. IE say's object required/not found and FF say's that document.getElementById("txtmain") has no properties.

Could you guy's help me get this parses working please?

Thanks in advance. files are attached

BTW don't mind all the BS in the XML file(s) it's some standart exercise we once did I used as a base just to test the parser. the XML files with all the content etc are in the works.

Thanks in advance guys