Home  >  Article  >  Web Front-end  >  Jquery plug-in easyUi form validation submission (sample code)_jquery

Jquery plug-in easyUi form validation submission (sample code)_jquery

WBOY
WBOYOriginal
2016-05-16 17:06:151078browse
复制代码 代码如下:


   
                                      
                
            
        
                      
            
        
        
                       
                           
            
        
        
                           
            
        
        
                           
            
        
        
                           
        
  
命令:
描述:
类型:     url="data/editHealthCheckCombobox_data.json" valueField="id"
     textField="text" />
分数:
使用状况:

              
     
            

 


复制代码 代码如下:

//表单提交
 $('#myForm').form({
     url:'/ProcessServlet',
     onSubmit:function(){
         return $(this).form('validate');
     },
     success:function(data){
         alert(data);
     }
 }); 
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn