Thanks for the quick replay.
I'm looking for something like:
<form name="input" action="html_form_action.asp" method="get">
<input type="text" id="t1" name="t1" placeholder="Say something">
<input type="submit" value="Submit" onclick="document.getElementById("div1").innerHTML="t1"">
</form>
<div id="div1"></div>
The innerHTML will change the div1 value to the t1(text input) value.
But I don't really know how to grab that input value.