var chongzhi = new Ext.Button({ text : '重置', iconCls : 'cogEdit', anchor : '35%', handler : function() { fieldSet.getForm().reset(); } }); //文本框回车事件 usernameInput.on('specialkey',function(pw,e){ if(e.getKey()==13){ passwordInput.focus(true,true); } });