I use the following jquery to return xml, which is in the same subdomain:
$.getJSON(myurl, function(data) { debugger; alert(data); });
Now when I run this in firebug, I get a js error in firebug saying: Missing; before the expression. The returned data is as follows:
<?xml version="1.0" encoding="utf-8"?> <string xmlns="somenamespace">...somedata...</string>
The returned data is returned, but I'm not sure how to use it. I need to access somedata strong>, but I canβt. Firebug doesn't even stop in function. How to continue the work?
source share