TAG
JavaScript
Result
Run
License
<h4>Please click on the text below.</h4> <div id="mystr">Some text</div>
window.addEventListener("load", function() { let elMystr = document.querySelector("#mystr"); elMystr.onclick = e => { e.currentTarget.firstChild.insertData(4, " any"); }; });
Console
expand_less
License
License
by DevDic
Close