这样的代码为什么会再火狐可以显示,在ie什么都显示不了了
InsertFormPanel = Ext.extend(Ext.form.FormPanel, {
constructor : function() {
InsertFormPanel.superclass.constructor.call(this, {
title : "注册页面",
renderTo : Ext.getBody(),
frame : true,
width : 350,
items : [{
xtype : "textfield",
fieldLabel : "用户名"
}, {
xtype : "textfield",
fieldLabel : "密码"
}],
buttons : [{
text : "修改",
handler : function() {
}
}]
})
}
})