<script language="javascript" for="document" event="onkeydown"> <!-- if(event.keyCode==13) onSubmit(); --> </script>