//Regular Express to filter the character,return bool function ValidNumber(inpString) { return /^[-+]?\d+(\d+)?$/.test(inpString); } //return the cursor to where judge $('#id').focus();原文链接:https://www.f2er.com/regex/362435.html
//Regular Express to filter the character,return bool function ValidNumber(inpString) { return /^[-+]?\d+(\d+)?$/.test(inpString); } //return the cursor to where judge $('#id').focus();原文链接:https://www.f2er.com/regex/362435.html