I am writing a js to get a xml from a url but i am not getting any response.Anything I am doing wrong?
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://www.w3schools.com/xml/simple.xml",
dataType: "xml",
success: function(response)
{
alert(response);
}
});
});