javascrpt 去掉空格
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->//去左空格; function ltrim(s) { return s.replace(/(^\s*)/g, ""); } //去右空格; function rtrim(s) { ... 阅读全文
posted @ 2008-07-11 12:14
baifan
阅读(355)
评论(1)
推荐(0)