jquery.validate.js简介
http://wolfgangkiefer.blog.163.com/blog/static/8626550320091122216330/
在console后台的 使用摘要
<form id="show" name="show" method="post" action="${applicationScope.urlPf}/console/admin/connect/act/add" >
<table width="90%" border="0" align="center">
<tr>
<td>网站名称:</td>
<td><input name="appName" class="required" title="[网站名称]为必填项,不能为空值!" size="50" type="text"/><font color="red">*</font> </td>
</tr>
<tr>
<td>标题:</td>
<td><input name="title" class="required" title="[标题]为必填项,不能为空值!" size="50" type="text"/><font color="red">*</font> </td>
</tr>
<tr>
<td>图片地址:</td>
<td><input name="picUrl" class="required url" title="[图片地址]为必填项,且必须是合法的URL地址!" size="50" type="text"/><font color="red">*</font></td>
</tr>
<tr>
<td colspan="2">
<input type="hidden" name="vtype" value="60">
<input type="button" value="添加" class="input-button" onclick="doSaveShow()"/>
<input type="reset" class="input-button" value="清空"/>
</td>
</tr>
</table>
</form>