t = t.replace(/:/g, '');
/g表示所有
以下是替换第一个冒号
t = t.replace(':', '');
js替换所有冒号
猜你喜欢
转载自cuityang.iteye.com/blog/2411765
今日推荐
周排行