js限制文本框输入空格1、限制输入空格<input type="text" onkeyup="this.value=this.value.replace(^ +| +$g,' ')&quo2023-02-21JavaScript490