Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

showing load not a function

 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i developed one xml file...and i want to view that xml file...i used the following code..i m running my code in Mozilla Fox...can any one check it and provide me the solution.


 
subhash kumar
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
xmlDoc = new Object("Microsoft.XMLDOM");

try this one

xmlDoc = new ActiveXObject("Microsoft.XMLDOM");

and your xml file and html file should be in the same directory.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The title of the page states: <title>Read XML in Microsoft Browsers</title> so I am guessing that code is made for IE only.

Look at the XMLHttpRequest object with responseXML

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic