控制input只输入数字--- onkeyup="value=value.replace(/[^\d]/g,'')"
☆ <td><input type="text" class="spInput" onkeyup="value=value.replace(/[^\d]/g,‘‘)" name="countyQuotas" value="{{value.adjustCountyQuota}}"/>
文章来自:https://www.cnblogs.com/hahajava/p/9042882.html