I am using the below code to iterate through multiple nodes of XML but it seems not working
var xmlDat = $.parseXML($('#xmlText').val());
// Here I am reading an XML content on paste event of xmlText
var xml = $(xmlDat);
var path = xml.find('ProjectID').text();
xml.find('a,b,c,d').each(function(){
{
// Giving unwanted results
}
but if use like below
xml.find('a').each(function(){
{
// Giving results
}
Please let me know how can i correct the code to make this working in above case also...