页面禁止输入空格

标签中加入this

                onkeyup="this.value=this.value.replace(/\s/g,'')"标签

相关文章
相关标签/搜索