闃蹭吉鏌ヨ鎺ュ彛
  • 璇存槑锛?/li>
  • - 閲囩敤jquery ajax鏂瑰紡(璇峰紩鐢╦query鏂囦欢)
  • 銆€銆€銆€鈹斿弬鏁拌鏄庯細鈶犻槻浼紪鐮?nbsp;   鈶′紒涓欿ey
  • 銆€銆€銆€鈹旇繑鍥炶鏄庯細鏌ヨ缁撴灉
  • 銆€銆€銆€鈹旂ず渚嬩唬鐮侊細 <html> <head> <title>闃蹭吉鏌ヨ鎺ュ彛绀轰緥</title> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <body> <lable>闃蹭吉缂栫爜:</lable> <input type="text" id="txt_code" /> <input type="button" id="bnt_query" value="纭鏌ヨ" onclick="querycode()" /> <script type="text/javascript"> function querycode() { var getcode = $('#txt_code').val(); if (getcode.length > 0) { var url = "http://www.china-12365.com/Pages/Interface_Fangwei.ashx?callback=?"; var data = { code: getcode, key: "浼佷笟key" }; $.getJSON(url, data, function (backdata) { alert(backdata.result); }); } } </script> </body> </html>
  • 銆€銆€銆€鈹斿娉ㄨ鏄庯細浼佷笟Key璇疯仈绯绘妧鏈汉鍛樼储瑕?/li>
| Copyright ? 2015 涓浗浜у搧璐ㄩ噺浜戣拷婧钩鍙?鐗堟潈鎵€鏈?|