<li>
<label>
签约次数<b>*</b></label><input id="txt_signtimes" type="text" runat="server" onkeyup="
value=value.replace(/[^(\d)]/g,'')"
onbeforepaste="
clipboardData.setData('text',clipboardData.getData('text').replace(/[^(\d)]/g,''))" placeholder="请填写签约次数" class="dfinput" /></li> 原文链接:https://www.f2er.com/regex/359727.html