<%@ 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"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> <script type="text/javascript" src="js/jquery-easyui-1.4.4/jquery.min.js"></script> <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.4.4/themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.4.4/themes/icon.css"> <script type="text/javascript" src="js/jquery-easyui-1.4.4/jquery.easyui.min.js"></script> <!-- <script type="text/javascript" src="js/jquery-easyui-1.4.4/easyloader.js'"></script> --> <script type="text/javascript" src="js/jquery-easyui-1.4.4/locale/easyui-lang-zh_CN.js"></script> <script type="text/javascript"> $(function(){ }) </script> </head> <body> <div id="mypanel" class="easyui-panel" title="用户信息" style="300px;height:300px"> <form action="" method="post" > <table> <tr> <td>用户名称</td> <td><input class="easyui-textbox" data-options= "required:true,validType:'length[2,5]',invalidMessage:'名称错误'" width="30"></td> </tr> <tr> <td>密码</td> <td><input class="easyui-textbox" data-options= "required:true,validType:'length[6,6]',type:'password',invalidMessage:'密码长度为6'" width="30"></td> </tr> <tr> <td>年龄</td> <td><input class="easyui-numberbox" data-options= "required:true,precision:0,min:18,max:60" width="30"></td> </tr> <tr> <td>生日</td> <td><input class="easyui-datebox" data-options="required:true,editable:false" width="30"></td> </tr> <tr> <td>工资</td> <td><input class="easyui-numberbox" data-options= "required:true,precision:2,min:0,max:6000,prefix:'$'" width="30"></td> </tr> <tr> <td>用户邮箱</td> <td><input class="easyui-textbox" data-options= "required:true,validType:'email',missingMessage:'这是必填项'" width="30"></td> </tr> <tr> <td>个人主页</td> <td><input class="easyui-validatebox" data-options= "required:false,validType:'url',inonCls:'icon-search',prompt:'提示信息'" width="30"></td> </tr> <tr> <td>注册时间</td> <td><input class="easyui-datetimebox" data-options="required:true,editable:false" width="30"></td> </tr> <tr> <td colspan=2 align="center"> <a class="easyui-linkbutton" style="80px;">提交</a> </td> </tr> </table> </form> </div> </body> </html>