读书人

javascirpt轮换所有字符默认方法只替

发布时间: 2012-08-29 08:40:14 作者: rapoo

javascirpt替换所有字符,默认方法只替换第一个
temp.replace(/\,/g,"#");

读书人网 >Web前端

热点推荐