DrZog
23 Apr 2007, 4:35 AM
Is there a bug in the 'keypress' event in IE7?
grid.on('keypress', function(e){
if (e.getKey() == 46){
alert('Delete key pressed');} //Works in FF but does not fire when delete pressed in IE7
});
e.DELETE has the same result.
e.ENTER etc works fine...:-?
PS:UK keyboard, not sure if thats relevant to keycodes though...
grid.on('keypress', function(e){
if (e.getKey() == 46){
alert('Delete key pressed');} //Works in FF but does not fire when delete pressed in IE7
});
e.DELETE has the same result.
e.ENTER etc works fine...:-?
PS:UK keyboard, not sure if thats relevant to keycodes though...