Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).keyup(function(e) {
- if (e.keyCode == 27) { alert('close'); } // esc
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement