如何在成功将数据提交到服务器后显示成功消息?
在Jqgrid编辑表格中“行成功添加”
答案 0 :(得分:1)
afterSubmit: function () {
alert("Row added Successfully");
$(this).jqGrid("setGridParam", {datatype: 'xml'});
return [true]; },
closeAfterAdd:true,
reloadAfterSubmit:true,
recreateForm: true,
bottominfo:"Fields marked with (*) are required"},