摘要:
方法1:此方法适用于Extjs按钮handler处理,一般在最前面说明function changeMsgBoxFocus(buttonIdx){ function exmyth() { Ext.MessageBox.getDialog().buttons[buttonIdx].focus(); } exmyth.defer(100, this);}Ext.MessageBox.getDialog().addListener('show', changeMsgBoxFocus.createCallback(2));... 阅读全文