Установить текст элемента DOM

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