Ustaw tekst elementu DOM

document.getElementById("myBtn").textContent = 'Hello World';
Nasty Narwhal