+ 1
Find and replace /remove?
https://code.sololearn.com/W58SKmyWLd2Y/?ref=app just run this code.
1 Réponse
+ 4
Hello, Daniel Cooper !
<p id='val'>Ts Ts Ts</p>
<script>
function ts() {
var x = document.getElementById('val');
var y = x.value.replace(/Ts/g, "Example");
x.innerHTML = y;
}
setTimeout(ts, 1);
</script>