Connect with me

Latest Tweets

Chrome issue with ‘specialkey’

Posted on by admin


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

Share
[del.icio.us] [Digg] [dzone] [Facebook] [Friendsite] [Google] [LinkedIn] [MySpace] [Twitter] [Windows Live] [Yahoo!] [Email]

      


Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


What is difference between managed and backing beans?

Although general convention is to use one Managed beans per JSF page/fragment, but managed beans can be used with multiple pages.  But Backing Bean can be only used for single page/fragment. Normally, Managed Bean is desired to have Pageflow scope, … Continue reading