限制input框只能输入0~100的正整数法一:(复杂) <input type="number" oninput="if(!/^[0-9]+$/.test(value)) value=value...小鹿WLZ2022-03-15程序员 阅读(26)评论(0)赞(0)