声明:本人是初学者
Ext.onReady(function(){ Ext.BLANK_IMAGE_URL='ExtJS2/resources/images/default/s.gif'; Ext.QuickTips.init(); var form = new Ext.FormPanel({ title:'提示信息(qtip)', height:100, widht:300, frame:true, labelSeparator:':', labelWidth:60, labelAlign:'right', applyTo:'form', items:[ new Ext.form.TextField({ fieldLabel:'姓名', allowBlank:false, blankText:'请填写姓名', msgTarget:'qtip' }), new Ext.form.NumberField({ fieldLabel:'年龄', allowBlank:false, blankText:'请填写年龄', msgText:'qtip' }) ] }) } )IE中提示:Extjs this.el.dom为空或不是对象
FF中没有任何提示,但也没有预期效果
请问是怎么回事,我按着书上的代码写的,哪里有错吗?