xml data not being returned using jquery ajax

Trexer

New Member
I am trying to get the page popularity of a site \[code\]<POPULARITY URL="google.com/" SOURCE="panel" TEXT="1"/>\[/code\]using alexa api. If I post \[code\]http://data.alexa.com/data?cli=10&dat=snbamz&url=http://www.google.com \[/code\]into the browser i get a xml response but using ajax I get nothing returned\[code\]$.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); } });\[/code\]What am i doing wrong?
 
Back
Top