<html > <head runat="server"> <title></title> <link rel="stylesheet" href="Js/ext-4.2/resources/css/ext-all-neptune.css"/> <script src="Js/jQuery/jquery-1.8.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="Js/ext-4.2/bootstrap.js"></script> <script type="text/javascript" src="Js/ext-4.2/locale/ext-lang-zh_CN.js"></script> <script type="text/javascript"> $(document).ready(function() { function init() { Ext.MessageBox.alert("ExtJS", "Hello ExtJS"); } Ext.onReady(init); }); function onclicks() { Ext.MessageBox.alert("ExtJS", "你好 ExtJS"); } </script> </head> <body> <form id="form1" > <div> <input type="button" value="提交" onclick="onclicks()" /> </div> </form> </body> </html>
时间: 2024-11-07 12:17:04