js removeClass name
摘要:
var abc="a b c d".split(/\s/);var new1=abc.join(",").replace(/,?d/,"");if(new1.substring(0,1)==","){new1=new1.substring(1)};new1=new1.replace(/,/ig," ");alert (new1); 阅读全文
posted @ 2012-08-16 19:00 lzf0514 阅读(143) 评论(0) 推荐(0) 编辑