文本框只能输入正整数

<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

posted @   吃辣椒的小毛驴  阅读(150)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示