This is my first post here. After a few weeks reading and learning here I have a specific question:
$(document).keypress(function(e) {
if (e.which == 13) { alert( Key press ) };
});
这完全可行;显示一个警示箱。
When I try with ESC (code 27) or any other key code, it doesn t run. Any suggestions?