复制代码代码如下: <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>