Simle Example Jquery
代码
var arr =
{
"action": "delete",
"id": obj,
"accessName": $("#txtAccessName").val(),
"pageIndex": $("#txtAccessPageIndex").val()
};
$.post("../Logic/GroupAccessLogic.ashx", arr,
function callback(json) {
searchMemberAccessList("#txtAccessPageIndex");
});
{
"action": "delete",
"id": obj,
"accessName": $("#txtAccessName").val(),
"pageIndex": $("#txtAccessPageIndex").val()
};
$.post("../Logic/GroupAccessLogic.ashx", arr,
function callback(json) {
searchMemberAccessList("#txtAccessPageIndex");
});