Hi,
This javascript will display my xml node list:
But I want to display the list in reverse order. I think it would work to put the nodes into an array and then use reverse() to switch it, but I'm not sure exactly how...
Thanks in advance!
This javascript will display my xml node list:
Code:
x=xmlDoc.getElementsByTagName('title');
for (i=0;i<x.length;i++) {
document.write(x[i].childNodes[0].nodeValue);
document.write("<br />");
}
Thanks in advance!
Comment