This article is mainly on the jquery plug-in easyui form validation submission of the sample code is introduced, the need for friends can come to the reference, I hope to help you.
Code as follows: <form id= "MyForm" method= "post" > <table align= "center" style= "Width:400px;height:auto; margin-top:20px "> <tr> &NBSP;<TD align= "rig HT "> Command:</td> <td><input id=" cmd "name=" cm D "style=" width:200px "class=" Easyui-validatebox "required=" true "validtype=" length[5,12 "missingmessage=" cannot be empty "/ ></td> </tr> <tr> &N Bsp &NBSP;<TD align= "right" > Description:</td> <td><input id= "depict" name= "depict" style= "width:200px" Easyui-validatebox "required=" true "validtype="LENGTH[5,12] "missingmessage=" cannot be empty "/></td> </tr> & nbsp <tr> & NBSP;<TD align= "Right" > type:</td> &N Bsp <td><input id= "type" style= "width:200px" class= "Easyui-validatebox" Url= "Data/edithealthcheckcombobox_data.json" valuefield= "id" textfield= "text"/></td> </tr> <tr> &NBS P &NBSP;<TD align= "right" > score:</td> & nbsp <td><input id= "score" name= "score" style= "width:200px" Number "/></td> </tr> <tr> &NBS P &NBSP;<TD align= "right" > Usage:</td> &NBSP;&NBSP ; <td><input id= "Isuse" style= "width:200px" class= " Easyui-validatebox "/></td> </tr> <tr> &NBSP;<TD align= "center" colspan= "2" >   ; <input type= "Submit" value= "submit"/> <input type = "Reset" value= "reset"/> </td> &N Bsp </tr> </table> </form> code as follows://Form Submit $ (' #myForm '). Form ({ &NBSP;url: '/processservlet ', onsubmit:function () { return $ (this). Form (' Validate '); &NBSP, success:function (data) { alert (data); & nbsp &NBSP}  });