日期:2014-05-16 浏览次数:20336 次
var strItem =自己定义的值;
$.ajax({
type: "post",
url: "ManageQuestion.aspx/DeleteQuestionAll",
data: "{'param':'" + strItem + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
cache: false,
success: function (data) {
alert(data.d);
document.getElementById("linSearch").click();
}
});
[System.Web.Services.WebMethod]
public static string DeleteQuestionAll(string param)
{
// 处理操作
}