Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change element text innerhtml keeping the elements or tags inside

  document.getElementById("tagname").firstChild.data = text;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #element #text #innerhtml #keeping #elements #tags
ADD COMMENT
Topic
Name
4+7 =