All pastes #757363 Raw Edit

Mine

public text v1 · immutable
·published 2007-11-01 07:13 UTC
rendered paste body
<html>
<body>

<script type="text/javascript">

function commandKeyUp() {
 var n = "output is " + event.keyCode;
 document.myForm.output.value=n;
}
</script>

<form name="myForm">
<br/><textarea style="color: red; background-color: black" name="output" rows="3
0" cols="100" readonly="true"></textarea><br/>
<input type="text" onkeyup="commandKeyUp();" name="command" size="100"/>
</form>

</body>
</html>