Ext.onReady
(
    
function()
    {
        
var form1= new Ext.FormPanel(
        {
        title:
"Json测试",height:300,width:400,
        items:[{xtype:
"textarea",width:200,height:200,fieldLabel:"Json值",disabled:true},{xtype:"button",type:"submit",text:"演示",handler:function()
        {
        form1.getForm().submit({url:
"your url here",method:"POST", waitMsg:"正在提交,请稍候",    waitTitle:"提示信息",
        success:
function(form,action)
        {
        
//成功处理
        },
        failure:
function(form,action)
        {
        
//失败处理
        }
        });
        }}        
        ],
        renderTo:Ext.getBody(),
        standardSubmit:
false
        }
        );
        
    }
)
//