<script type="text/javascript" language="javascript"> document.onkeydown = function() { if (event.keyCode == 13) { alert("aa") ; } } </script>