javascript get element html content code example
Example: inner content
document.getElementById("myBtn").textContent;
document.getElementById("myBtn").innerHTML;
document.getElementById("myBtn").innerText;
// js dont have innerContent
document.getElementById("myBtn").textContent;
document.getElementById("myBtn").innerHTML;
document.getElementById("myBtn").innerText;
// js dont have innerContent