When a user type something into a textbox and then click submit, that value will then be display.
I am able to display it the first time but if I wanted to display the same data again, it does NOT work.
Not sure what I did wrong.

Here's my code:

<!DOCTYPE html>
function display(){
	var myName = document.getElementById("myName").value;		
	document.getElementById("name1").innerHTML = myName;

<input type="text" id="myName" /><br><br>	

<a href="#" onclick="display()">Continue</a>

<h1 id="name1"> </h1><br><br>
<h1 id="name1"> </h1><br><br>
<h1 id="name1"> </h1>

So the data should be display 3 times but it only display once.
Even though I called
<h1 id="name1"> </h1>
3 times.