I\'m trying to load external xml using the following code but it is not working
$( document ).load( \"data.xml\", function( response, status, xhr ) {
Maybe this is what you are looking for....
$(document).ready(function(){ $.ajax({ url: 'data.xml', dataType: 'xml', success: function(response, status, xhr){ console.log( xhr.status + " " + xhr.statusText ); } }); });
UPDATE
Read this post