Menu
Hi there, i am trying to make an input textbox so that when i type stuff in it, the data automatically goes into a table. here is my code:
<html>
<head>
<script type=”text/javascript”>
function output(){
var x=document.getElementById(“input”).value;
var y=document.getElementById(“output”).value=x;
}
</script>
</head>
<body>
<input type=”text” id=”input” /><br />
<table border=”1″>
<tr>
<td id=”output” onkeyup=”output()”></td>
</tr>
</table>
</body>
</html>