Ext.onReady(function(){
    Ext.QuickTips.init();
    
    // turn on validation errors beside the field globally
    Ext.form.Field.prototype.msgTarget = 'side';    var InformationForm=new Ext.form.FormPanel({   
    buttonAlign:'center',   
    labelAlign:'left',   
    labelWidth:40,
    title: '1111',   
    frame:true,   
    bodyStyle:'padding:0px 0px 0 0;',
    width: 500,
    items:[{   
//        xtype:'textfield',   
//        fieldLabel:'姓名',   
//        name:'n_username',   
//        id:'i_username',   
//        width:100   
//    },
//      {
          xtype:'TextArea',
          id:'txt',
          emptyText:'吗',
          name:'txtname',
          fieldLabel:'吗',
          width:200
          
          }]
    });  
    InformationForm.render(document.body);   
});
这样也不行,报没有创建对象!