JavaScript设置名字输入不合法的实现方法 html代码:<tr><th>输入名称:</th><td><inputtype='text'class='normal'name='name'patter 名字输入不合法