Chrome issue with ‘specialkey’

ExtJS doesn’t support specialkey event on Google Chrome nor any other key events are supported (keydown,keypress).

If you want Google Chrome to support specialkey, keypress, keydown event, then all you have to do is :

this.reffield.on('keydown',function(field,evt){
if(evt.getKey() == 17 && evt.getKey() == 9 || evt.getKey() == 9 && evt.getKey() != 17 )
Ext.getCmp('mailSub').focus(false,10);

},this);

doing so you will gain support on both Google Chrome as well as Mozilla Firefox

Cheers

Have Fun



ExtJS, complete Java Script Framework

Leave a Reply