文本框只能输入正整数
<input id="firemanNum" name="firemanNum" type="text" style="width: 220px;" required="true" class="easyui-validatebox" onkeyup="this.value=this.value.replace(/\D/g,'')" />
原文地址:http://blog.csdn.net/zhangzhangjava/article/details/69226510?locationNum=13&fps=1