Ext Tab 转Enter

 

每个组件加个tabIndex 属性,,,整数

 

tabIndex : Number

The tabIndex for this field. ...

The tabIndex for this field. Note this only applies to fields that are rendered, not those which are built via applyTo (defaults to undefined).

 

增加这个Js方法

  document.onkeydown = function enterToTab() {

                 if (event.srcElement.type != 'submit' && event.srcElement.type != "image" && event.srcElement.type != 'textarea' && event.keyCode == 13)
                     event.keyCode = 9;
    }

你可能感兴趣的:(function,image,ext)