+ 1

Find and replace /remove?

https://code.sololearn.com/W58SKmyWLd2Y/?ref=app just run this code.

6th Jul 2018, 3:26 AM
Daniel Cooper
Daniel Cooper - avatar
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>
6th Jul 2018, 4:20 AM
Alexander Sokolov
Alexander Sokolov - avatar