Posted By

paulund on 06/15/11


Tagged

jquery loop


Versions (?)

Loop through xml Jquery


 / Published in: jQuery
 

  1. //Load xml file
  2. $.get("xmlfile.xml", {}, function (xml) {
  3. //Loop through each node
  4. $('node', xml).each(function (i) {
  5. //Do something
  6. });
  7. }):

Report this snippet  

You need to login to post a comment.