小笔记

62 阅读1分钟
  1. input输入正整数
onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"