$(document).ready(function(){
$.ajax({
url:"http://xml.alexa.com/data?cli=10&dat=nsa&url=gomm.com.vn",
type:"GET",
dataType: "xml",
success: parseXml
});
});
});
function parseXml(xml)
{
$(xml).find("ALEXA").each(function()
{
$("#output").append($(this).attr("VER") + " ");
});
}
Hemant KumarPosted Jul 12, 2012, 2:40 AM
I think the below link might help you
http://stackoverflow.com/questions/6261335/how-to-parse-remote-xml-file-with-javascript-jquery-and-phonegap
http://stackoverflow.com/questions/3206176/how-parse-remote-xml-file-with-jquery
Cenk IsikPosted Jul 12, 2012, 3:24 AM