textarea 限制输入:
<textarea maxlength="60" οnchange="this.value=this.value.substring(0, 60)" οnkeydοwn="this.value=this.value.substring(0, 60)" οnkeyup="this.value=this.value.substring(0, 60)" id="content" name="content" style="width:300px;" >${bc.content}</textarea>
input 数字输入:
<input id="startpoint" name="startpoint" style="width:100px;"
onChange="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
input 虽控制长度,但表单提交时没有
<input class="easyui-validatebox" required="true" type="text"
id="themetitle" validType="length[1,16]" name="title"
style="width: 65%" value="" />