|

楼主 |
发表于 2016-5-20 10:06:11
|
显示全部楼层
//暂存数据
Model.prototype.btn_saveClick = function(event){
var option={
excludeCols:'simple'};
var result=myData.toJson();
var context=this.getContext();
var threadId=context.getRequestParameter("id");
var s=JSON.stringify(result);
debugger;
$.ajax({
url:serverUrl+"WebHandler.ashx?QNAME=MOBILE_BASE&CMD=1015",
type:"post",
async: false,
cache: false,
data: {"THREADID":threadId,"SID":dcommon.SID,"table1":s},
"success" : function(reData) {
if(reData=="true"){
justep.Util.hint("保存成功!");
}
}
});
}; |
|