02第二讲:信息提示框组件档案.docVIP

  • 1
  • 0
  • 约3.51千字
  • 约 4页
  • 2018-06-06 发布于江苏
  • 举报
1. Ext.MessageBox.alert 方法 API alert String title, String msg, Function fn, Object scope : Ext.MessageBox 参数项: title : String The title bar text msg : String The message box body text fn : Function optional The callback function invoked after the message box is closed scope : Object optional The scope of the callback function 有四个参数,我们这里主要介绍前面三个。 title,标题,必选 msg,本体文本,必选 fn,在关闭弹出窗口后触发Ext.onReady function TestMessageBox Ext.MessageBox.alert 测试,弹出提示框 ; ; 添加事件处理 Ext.onReady function TestMessageBox Ext.MessageBox.alert 测试,弹出对话框,function document.write 关闭对话框 ; ; ; 对按钮之进行判断 Ext.onReady

文档评论(0)

1亿VIP精品文档

相关文档