标签:
e.g:
function saveData(){ form.validate(); if(form.isValid()==false) return; var persons = grid.getChanges(); var tms=nui.get("sxrq").getValue(); debugger; nui.ajax({ url: "com.shtech.dp.cfg.Pc.saveEmplevelInfo.biz.ext", type: ‘POST‘, data: {"persons":persons,"tms":tms}, success: function (text) { //CloseWindow("saveSuccess"); grid.reload(); }, error: function (jqXHR, textStatus, errorThrown) { } }); }
标签:
原文地址:http://www.cnblogs.com/Devin-Blog/p/5553302.html