<%@ page language= "java" contenttype= "text/html; Charset=utf-8 "pageencoding= "UTF-8"%><! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "Http://www.w3.org/TR/html4/loose.dtd" >$(function(){ $("#myform"). Form ({novalidate:false, URL:' Testsubmit ', OnSubmit:function(){ varIsValid = $ ( This). Form (' Validate ');//alert (' form test = ' + isValid); if(!isValid) {$.messager.show ({title:' Form validation ', msg: ' Validation failed '}); } returnIsValid; },success:function(data) {alert (data); //Hide Progress Bar If commit is successful } }) $(' #subbutton '). Click (function(){ $("#myform"). Form (' Submit '); }); })</script>Valuefield: ' id ', TextField: ' name ', url: ' jsonmembers?parentid=0 ', Editable:false,value: '-1 ', Onselect:function ( rec) {var url = ' jsonmembers?parentid= ' +rec.id; $ (' #erj '). ComboBox (' Clear '); $ (' #erj '). ComboBox (' reload ', url); $ (' #erj '). ComboBox (' SetValue ', '-1 ');}"></td></tr><tr><td> City 2:</td><td><input id=" ERJ "class=" Easyui-combobox "style=" width:100px "data-options="Valuefield: ' id ', TextField: ' Name ', Editable:false,url: ' Jsonmembers ', Value: '-1 ', Onselect:function (rec) {var URL = ' jsonmembers?parentid= ' +rec.id; $ (' #sanj '). ComboBox (' Clear '); $ (' #sanj '). ComboBox (' reload ', url); $ (' #sanj '). ComboBox (' SetValue ', '-1 ');}"></td></tr><tr><td> City 3:</td><td><input id=" Sanj "class=" Easyui-combobox "style=" width:100px "data-options=" Valuefield: ' id ', TextField: ' Name ', Editable:false,url: ' Jsonmembers ', Value: '-1 ' "></td></tr><tr><td> birthday </td><td><input class=" Easyui-datebox "data-options=" Required:true,editable:false "width=" "></td></tr><tr><td > Salary </td><td><input class= "Easyui-numberbox" data-options= "Required:true,precision:2,min:0,max : 6000,prefix: ' $ ' "width=" ></td></tr><tr><td> user email </td><td><input class= "Easyui-textbox" data-options= "required:true,validtype: ' email ', missingmessage: ' This is required '" "Width=" ></ Td></tr><tr><td> Home </td><!--Another frame body <input class= "Easyui-validatebox" Data-optio ns=--><td><input class= "Easyui-textbox" data-options= "required:false,validtype: ' url ', InonCls: ' Icon-search ', PROMPT: ' Hint message ' "width=" ></td></tr><tr><td> registration time </td><td><input class= " Easyui-datetimebox "data-options=" Required:true,editable:false "width=" ></td></tr><tr> <TD colspan=2 align= "center" ><a id= "Subbutton" class= "Easyui-linkbutton" style= "width:80px;" > Submit </a></td></tr></table></form></div></body>20151226--easyui