JavaScript替换文本框中的空格

 

replace(/\s+/g, "")

 

posted @ 2009-07-21 08:40  fighter  阅读(810)  评论(0编辑  收藏  举报