Change the Value of h1 Element within a Form with JavaScript April 4, 2024 by Tarik Try: document.getElementById("yourH1_element_Id").innerHTML = "yourTextHere";