Quantcast
Channel: Having trouble parsing XML with jQuery - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by user113716 for Having trouble parsing XML with jQuery

This line is invalid. You're missing a function name. This is crashing the script.$(xml).find("C[ID='arrayIds[i]']").(function(){should be (perhaps):$(xml).find("C[ID='"+ arrayIds[i]...

View Article



Answer by Matthew Flaschen for Having trouble parsing XML with jQuery

It should be:$(xml).find("*[ID="+ arrayIds[i] +"]").each(function(){ // pass values alert('test');});Before you were looking for an id with the literal value "arrayIds[i]". Also, ids are unique, so you...

View Article

Having trouble parsing XML with jQuery

I'm trying to parse some XML data using jQuery, and as it stands I have extracted the 'ID' attribute of the required nodes and stored them in an array, and now I want to run a loop for each array...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images