<input type="text" onkeyup="value=(value.replace(/\D/g,'')==''?'':parseInt(value))" maxlength="10"> 相关文章: