Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change the text of a paragraph

document.getElementById('ID').innerHTML = 'New text';
 
PREVIOUS NEXT
Tagged: #change #text #paragraph
ADD COMMENT
Topic
Name
2+5 =