<input type="text" name="data" id="cardNumber" onkeyup="value=value.replace(/[^d]/g,'')" placeholder="请输入卡号"/>