input禁止输入空格

xiaoxiao2021-02-28  61

1 <input name="" onkeyup="this.value=this.value.replace(/^\s+|\s+$/g,'')" value="" type="text" class="" />

 

转载请注明原文地址: https://www.6miu.com/read-77990.html

最新回复(0)