Press any key to trigger keydown event
<script> $(document).ready(function() { $(document).keydown(function(){ alert('hi'); }); }) </script>