Im attempting to pull in an xml feed that I can load up with php and simpleXML and I can view the direct link, but when I try to use jquery and GET it just times out and I never get a response, the error that comes back is undefined.
Here is the code im using
$.ajax({
type: "GET",
url: "myurlishere",
dataType: "xml",
timeout: 1000,
contentType: "text/xml",
success: function(xml) {
alert("in");
},
complete: function(XMLHttpRequest, textStatus) {
alert(textStatus);
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
alert(errorThrown);
}
});