ExtJs -- 02 -- MessageBox related pop-up window alert, prompt, confirm use, extjsconfirm
/* Ext. onReady (function () {Ext. messageBox. alert ("jack", "tom"); Ext. messageBox. alert ("title", "prompt message", function (btn) {Ext. messageBox. alert ("subtitle", "you clicked" + btn) ;}, this) ;}); * // * Ext. onReady (function () {Ext. messageBox. prompt ("title information", "Information prompted to the user", function (btn, txt) {Ext. messageBox. alert ("Subtitle information", "you clicked:" + btn + ", the content you entered is:" + txt, function (btn) {Ext. messageBox. alert ("minimum title information", "the last one you clicked is:" + btn + "button") ;}, this) ;}, this, 300 );}); * // * Ext. onReady (function () {Ext. messageBox. confirm ("title information 1", "user prompt information", function (btn) {Ext. messageBox. alert ("title information 2", "Dear user, click" + btn) ;}, this );});*/