js换空格为别的元素

d..replace(/\s/g,'');

去掉空格

posted @ 2015-09-28 17:22  花语苑  阅读(172)  评论(0)    收藏  举报