Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.textcontent in javascript

document.getElementById('divA').textContent = 'This text is different!';
// <div id="divA">This text is different!</div>
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
9+4 =