Do what you want with the input, see the example below which reads a text box and spits it back out to a paragraphs innerhtml;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
</head>
<body>
<p>
Some HTML Page</p>
<p>
<input id="Text1" type="text" onchange ="return doFormat()" /></p>
<p id="para1">
</p>
<script type="text/javascript">
function doFormat() {
var something = Text1.value;
para1.innerHTML = "you entered: " + something.toString();
}
</script>
</body>
</html>