-
27 Aug 2009 7:41 AM #1
EventObject.preventDefault doesn't work in IE8?
EventObject.preventDefault doesn't work in IE8?
Seems like in IE8, the e.preventDefault() line in the below code has no affect:
Seems to work just fine in IE6, FF3, Chrome, Safari and Opera. Is this a known issue and are there any work arounds?Code:keydown: function(cbo, e) { var c = e.getCharCode(); if (c == e.TAB) { if (Ext.isEmpty(pnl.getComponent("AgencyCombo").getValue())) { e.preventDefault(); pnl.getComponent("AgencyCombo").focus(true, 100); } } }
-
9 Nov 2011 6:23 AM #2
+1
+1
i'm trying to override ctrl+s
works in google docs, so possible with IE8


Reply With Quote