harry0812 Posted September 21, 2011 Share Posted September 21, 2011 Please help me convert the below small code from vbscript to javascript, set xmlDoc=CreateObject("Microsoft.XMLDOM")xmlDoc.async="false"xmlDoc.load("nba.xml")for each x in xmlDoc.documentElement.childNodes;document.write("<b>" + x.nodename + "</b>");document.write(": ");document.write(x.text);document.write("<br>");next Thanks in advance. Link to comment Share on other sites More sharing options...
Synook Posted September 21, 2011 Share Posted September 21, 2011 Duplicate thread: http://w3schools.invisionzone.com/index.php?showtopic=39824. Link to comment Share on other sites More sharing options...
Recommended Posts