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) 阅读全文
posted @ 2013-02-05 19:53 H辉 阅读(1527) 评论(0) 推荐(1) 编辑