οnkeyup="value=value.replace(/[^(\d)]/g,'')" maxLength="9" 转载于:https://www.cnblogs.com/huimou/p/9849096.html