JS Teks Dalam
document.getElementById("text").innerText = "Your new text here"
DevLorenzo
document.getElementById("text").innerText = "Your new text here"
var x = document.getElementById("myBtn").innerText;
var text = document.querySelector('#text').innerText; //'#':id '.':class