![ContractedBlock.gif](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![ExpandedBlockStart.gif](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
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:"正在提交,请稍候
![](https://www.cnblogs.com/Images/dot.gif)
success:function(form,action)
{
//成功处理
},
failure:function(form,action)
{
//失败处理
}
});
}}
],
renderTo:Ext.getBody(),
standardSubmit:false
}
);
}
)
//