1. Modify the ajax form submission framework skygqCheckAjaxForm.1.3
If (settings. zhedang ){
$ ("Body "). append ('<div id = "skygqCheckAjaxFormOverlay" style = "display: none; text-align: center; position: absolute; z-index: 2000; left: 0; top: 0; background: black; cursor: hand "> </div> ');
} Else {
$ ("Body "). append ('<div id = "skygqCheckAjaxFormOverlay" style = "display: none; text-align: center; position: absolute; z-index: 2000; left: 0; top: 0; cursor: hand "> </div> ');
}
// Zookeeper
If (settings. isAjaxSubmit ){
Maxfor = maxfor + 1;
Var nowindex = 1;
FormObj. submit (function (){
If
If (settings. isBg ){
$. Fn. skygqCheckAjaxForm. setPosition (formObj, settings );
}
$ ('Input: submit ', formObj). attr ('Disabled', 'Disabled ');
If (nowindex = 1 ){
FormObj. skygqajaxSubmit (settings );
}
Nowindex = nowindex + 1;
}
Return false;
});
} Else {// jax
FormObj. submit (validate );
}