This question has been asked/answered (mostly) before, BUT I\'ve tried three things to stop the event from bubbling but nothing has worked:
return false; e.stopPr
I had same issue and I used above method and it work for me.
$(document).unbind('keypress').bind('keypress', function (e) { // some logic here });