Var $table;//parent page table form id
Var $topIndex;//pop-up window index
Var $printFun;//parent page print method
The function doSubmit (table, index, printFun) {//callback function, in the edit and save gesture, for openDialog call form is submitted,
$table=table;
$topIndex=index;
.
return false;
}
The $(document). Ready (function () {
ValidateForm=$(" # inputForm "). The validate ({
submitHandler : function (form) {
Jp. Post (" ${CTX}/elec/emElectricitySell/sell ", $(' # inputForm). Serialize (), function (data) {
})
},
});
</script>
<body & gt;
,,,,,,,,,,,,,