标签:blog script class function space code blur pac his
<input type="text" onBlur="replaceSpace(this)" /> <script type="text/javascript"> function replaceSpace(obj) { obj.value = obj.value.replace(/\s/gi, ‘‘) } </script>
标签:blog script class function space code blur pac his
原文地址:http://www.cnblogs.com/wuxibolgs329/p/6204463.html