EasyUI Forum

General Category => Bug Report => Topic started by: hewei2038 on August 18, 2011, 02:17:02 AM



Title: easyUI 1.2.4 user the $("formid").form({url:'onceEffect'}).submit()
Post by: hewei2038 on August 18, 2011, 02:17:02 AM
       var hasId = ....;
     if(hasId){
       url = '/RESTClient/userbinded/updateUserBinded.action?time=' + getDateTime();
   

}else{
       url = '/RESTClient/userbinded/saveUserBinded.action?time=' + getDateTime();
    }
   $('#UserBindedForm').form

({
       url:url,
       onSubmit:function(){
                       $.messager.show( {title : '提示框',msg : "正在提交请稍

后!",showType : 'show',timeout:'2000'});
       },
       success:saveSuccess
   }).submit();

Find that can not change the dynamic

URL   
URL only take effect once
After the change has no effect