I have two forms on an HTML5 page. Each form has a name and an id. The second form has an h1 element, which also has a name and an id. How do I change the text of this h1 elemen
You can use this: document.getElementById('h1_id').innerHTML = 'the new text';
document.getElementById('h1_id').innerHTML = 'the new text';