<html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script type="text/javascript" src="http://libs.baidu.com/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function (){ $.ajax({ url:"http://www.autohome.com.cn/ashx/AjaxIndexCarFind.ashx?type=1", type:'GET', dataType:'JSONP', // 处理Ajax跨域问题 success: function(data){ $('#foo').append( "Name: " + data.result.branditems[1].id ); } }); }) </script> </head> <body> <div id="foo"> </div> </body> </html>