I am using this Xdomain.js file from https://gist.github.com/1114981
Here is my jquery ajax call to retrieve xml from cross domain,
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://rxnav.nlm.nih.gov/REST/Ndfrt/search?conceptName=TESTOSTERONE",
dataType: "xml",
success: xmlParser
});
});
function xmlParser(xml) {
$(xml).find("entry").each(function () {
$(".entirecont").append($(this).find('inputConceptName').text());
});
}
when i googled on this i got a solution i.e XDomainRequest object in IE but how do i make ajax call from this jquery plugin https://gist.github.com/1114981 to make cross domain calls work..
And, also i have imported this plugin from github https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest but when it seems that IE is throwing an error saying that ajaxTransport method doesn't support and i am currently using jquery 1.3.2