asmx.cs
int id)
{
}
}
js
);
callBack(o);
}
});
或者向下面这样直接使用也行,原因暂时不明
$.ajax({
type: "POST",
url: "/test.asmx/testMethod",
data: {
htmlStr: "<font color='red'>你好</font>",
Co: 877,
Tablename: "table_2",
buttonId: 96
},
success: function () {
alert("success");
},
error: function () {
}
});
type: "POST",
url: "/test.asmx/testMethod",
data: {
htmlStr: "<font color='red'>你好</font>",
Co: 877,
Tablename: "table_2",
buttonId: 96
},
success: function () {
alert("success");
},
error: function () {
}
});