Answers for "change element text innerhtml keeping the elements or tags inside"

0

change element text innerhtml keeping the elements or tags inside

document.getElementById("tagname").firstChild.data = text;
Posted by: Guest on April-19-2021

Code answers related to "change element text innerhtml keeping the elements or tags inside"

Code answers related to "Javascript"

Browse Popular Code Answers by Language