1 Ext.onReady(function () {
 2          //初始化标签中的Ext:Qtip属性。
 3            Ext.QuickTips.init();
 4             Ext.form.Field.prototype.msgTarget = 'side';
 5                //提交按钮
 6            var btnsubmit = new Ext.Button({  
            text: '提 交', 7 handler: btnsubmitclick 8 }); 9 //重置按钮 10 var btnreset = new Ext.Button({ 11 text: '重 置', 12 handler: btnresetclick 13 }); 14 15     var form = new Ext.form.FormPanel({ 16 frame: true, 17 title: '表单标题', 18 style: 'margin:10px', 19 html: '<div style="padding:10px">这里表单内容</div>', 20 buttons: [btnsubmit, btnreset] 21 }); 22 }

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2021-07-04
  • 2021-05-31
  • 2022-02-22
  • 2021-07-16
猜你喜欢
  • 2021-09-14
  • 2021-07-30
  • 2021-09-01
  • 2022-01-03
  • 2021-04-24
  • 2021-09-23
  • 2021-12-20
相关资源
相似解决方案