<input id="mobile" name="mobile" type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" class="input" placeholder="请填电话或手机号码" />