PDA

View Full Version : Easy way of combined keys event?



defcon1
7 Apr 2010, 10:01 AM
Hi,

I have an implementation like this to handle hitting the ENTER-key:

combobox:


listeners: {

specialkey: {
fn: function(field, event) {

if (event.getKey() == event.ENTER) {
....
}
}
}
}


Is there an easy way to handle ALT + ENTER?

Many thanks ...
d1 ;)