EasyUI Forum
May 03, 2024, 10:54:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: easyUI 1.2.4 user the $("formid").form({url:'onceEffect'}).submit()  (Read 18960 times)
hewei2038
Newbie
*
Posts: 1


View Profile
« 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!