js replace all colons

t = t.replace(/:/g, '');

/g means all

the following is to replace the first colon
t = t.replace(':', '');

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326222115&siteId=291194637
Recommended