02 2013 档案
摘要:使用 jquery 中的ajax 进行跨域请求说明:dataType 为 "jsonp" ;type 只能为 GET前台请求代码$.ajax({ type: "GET", url: "http://www.xxx.com/Rest/ValidAccountsExists.aspx?accounts=admin", dataType: "jsonp", jsonp: "jsoncallback", success: function (result) { alert(result.Success)
阅读全文