首页 > 代码库 > jquery form提交

jquery form提交

$(‘#form‘).form("submit", {
url: "Stu_sendsms.aspx",
onSubmit: function () {
$(‘#but_fs‘).attr("disabled",true);
LoadMsg("view");
return true;
},
success: function (data) {

LoadMsg("hidden");
data = http://www.mamicode.com/jQuery.parseJSON(data);
if (data.isok) {
var restr = successFs(data.count,data.rzdm);
$.messager.alert("提示", restr, "info", function () {
hf();
});

} else {
$.messager.alert("提示", data.msg, "info");
}
}
});

jquery form提交