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:

Code:
<!DOCTYPE html>
<head><title></title>
<script>
function display(){
	var myName = document.getElementById("myName").value;		
	document.getElementById("name1").innerHTML = myName;
}
</script>
</head>
<body>

<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>

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