I am trying to get the page popularity of a site
<POPULARITY URL="google.com/" SOURCE="panel" TEXT="1"/>
using alexa api. If I post
http://data.alexa.com/data?cli=10&dat=snbamz&url=http://www.google.com
into the browser i get a xml response but using ajax I get nothing returned
$.ajax({ type: "GET",
url: "http://data.alexa.com/data?cli=10&dat=snbamz&url=http://www.google.com",
dataType: "xml",
cache: false,
success:function(data){
alert(data);
}
});
What am i doing wrong?