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!

HTMLunknownelement + IE

Status
Not open for further replies.

vlitim76

Programmer
Jun 1, 2006
19
GB
hi I have a page with a custom element in whcih works fine in firefox but not in IE!

Code:
<xmlInfo>Hello</xmlInfo>

which I am referencing:

Code:
var root = xmlFile.getElementsByTagName('xmlInfo').item(0);
alert(root.firstChild.data);

In IE getElementsByTagName('xmlInfo').item(0); returns null??

what do I need to do to get this working ??

cheers

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top