Answers for "how to change text in html element using dom"

0

set text of dom element

document.getElementById("myBtn").textContent = 'Hello World';
Posted by: Guest on March-05-2020

Code answers related to "how to change text in html element using dom"

Code answers related to "Javascript"

Browse Popular Code Answers by Language