I am trying to override Control P in Internet Explorer 10, but cannot figure out how to do this. I mocked Fiddle with very simple code that works in Chrome (at least on my Mac). But running this in IE 10 and using Control P still brings up the print dialog.
Here is my simple code:
$('.test').on('keydown', function(e){ if (e.metaKey || e.ctrlKey){ $('body').append('ctrl p pressed'); e.preventDefault(); return false; } });β
Does anyone know what is going on here?
bento source share