Possible Duplicate:
HTTP GET request in Javascript?
I have a url that contains a XML tree. I want to read that url content, save it to a variable, extract XML tree values, and draw it in a table.
Possible Duplicate:
HTTP GET request in Javascript?
I have a url that contains a XML tree. I want to read that url content, save it to a variable, extract XML tree values, and draw it in a table.
Use an AJAX query, in jQuery:
$.ajax({
url: url,
dataType: 'xml',
success: function(data) {
// Data is your xml content which you can work with
}
});