This is a simple messagebox. If you have any suggestions, please leave a message, thanks <link rel = "stylesheet" href = "ext-3.2.1/resources/css/ext-all.css"/> <script type = "text/javascript" language = "javascript" src = "ext-3.2.1/ adapter/ext/ext-base.js> </script> <script type = "text/javascript" language = "javascript" src = "ext-3.2.1/ext-all.js"> </script> <script type = "text/javascript" language = "javascript" src = "ext-3.2.1/examples/shared/examples. js "> </script> <script type =" text/javascript "> Ext. onReady (function () {Ext. messageBox. alert ('hint ', 'Hello extjs'); Ext. msg. show ({title: 'hprompt ', msg:' This operation cannot be rolled back, continue? ', buttons: Ext. msg. YESNO, fn: function (btnId, text, opt) {if (btnId = "yes") {Ext. domHelper. insertHtml ('beforeend', Ext. getBody (). dom, "you have selected to continue")} else {Ext. domHelper. insertHtml ('beforeend', Ext. getBody (). dom, "cancel Operation") }}, icon: Ext. msg. WARNING}) ;}); </script> 2. messgebox with input column <script type = "text/javascript"> Ext. onReady (function () {Ext. messageBox. alert ('hint ', 'Hello extjs'); Ext. msg. show ({title: 'hprompt ', www.2cto.com msg: 'Your name is:', buttons: Ext. msg. OK, prompt: true, fn: function (btnId, text, opt) {Ext. domHelper. insertHtml ('beforeend', Ext. getBody (). dom, "dsfsdfsf" + text);}, icon: Ext. msg. QUESTION, width: 300}) ;}); </script>