I have the following code that works on all keys except enter, shift etc.
$(document).ready(function(){
$('input[name="tmp_post_tag"]').keypress(function(evt){
alert("hello");
});
});
Why won't it work on enter? which is what I want it to do. ive tried evt.char, evt.keyCode evt.which but nothing works.