/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Load xml file $.get("xmlfile.xml", {}, function (xml) { //Loop through each node $('node', xml).each(function (i) { //Do something }); }):