复制代码 代码如下: <BR>$(function(){ <BR>$("#siteName").blur(function(){ <BR>$.ajax({ <BR>type: "GET", <BR>url: "http://data.alexa.com/data/?cli=10&dat=snba&ver=7.0&url="+$("#siteName").val(), <BR>dataType: "xml", <BR>success: function(xml) <BR>{ <BR>$("#count").text($(xml).find("ALEXA SD POPULARITY").attr("TEXT")); <BR>} <BR>}) <BR>}); <BR>}); <BR>