function ReadNetInfo() {
//alert("开始");
$.ajax({
type: "post",
contentType: "application/json; charset=utf-8",
async: false, //同步执行
url: "/Ajax/AWebReadNetInfo.aspx",
dataType: "json", //返回数据形式为json
success: function (result) {
alert("数据初始化成功!");
},
error: function (errorMsg) {
alert("没有您想要的数据内容!");
}
});
}
报500错
你好,
后台方法分享一下。