HTML DOM innerText
var x = document.getElementById("myBtn").innerText;
HTML DOM innerText
var x = document.getElementById("myBtn").innerText;
what is differnce between innerHTML and InnerText
// create the header element
var header = document.createElement("header");
header.innerText = "<h1>Hello</h1>"; // it's return (<h1>Hello</h1>)
header.innerHTML = "<h1>Hello</h1>"; // it's retrun (Hello)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us