Front End

1, 

<input type="text" placeholder="输入2-11位靓号" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')">

猜你喜欢

转载自blog.csdn.net/qq_25527791/article/details/88750546