ExtJS 处理keyboard事件:
new Ext.form.TextField({
height : 24,width : 225,
listeners : {
specialkey : function(field, e) {
if (e.getKey() == Ext.EventObject.ENTER) {
window.event.keyCode = Ext.EventObject.TAB;
}
}
}