Answer by manuel for parse xml response with jQuery
just to complement, i you use $.get: $.get($('file.xml').val(),{ } , doSomethingWithData); function doSomethingWithData(data) { $(data).find("marker").each(function() { var marker = $(this);...
View ArticleAnswer by kgiannakakis for parse xml response with jQuery
Use something like this:$.ajax({ type: 'GET', url: 'test.xml', dataType: 'xml', success: function(xml){ $('response', xml).each(function() {alert($(this).find('client_id').text());}); }});
View ArticleAnswer by Tomalak for parse xml response with jQuery
To fix the expected response data type to XML right in your request, set the dataType parameter to "xml". If you don't, jQuery uses the response headers to make a guess.It is supported on the $.ajax()...
View ArticleAnswer by Salty for parse xml response with jQuery
First, make a request for the XML with $.get or however you want. Then:clientID = $(myXML).find("client_id").text();
View Articleparse xml response with jQuery
HI all,I use jQuery to parse my xml responses.I have this xml :<?xml version="1.0" encoding="UTF-8"?><response status="ok"><client_id>185</client_id></response>And i want...
View Article