第一步:把ext-all.js、  resource资源文件夹copy到项目工程中。

第二步:在页面写上以下代码。

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 

<html> 

  <head>

      <script src="Scripts/ext-all.js" type="text/javascript"></script>

      <link href="resources/css/ext-all.css" rel="stylesheet" type="text/css" />

  </head> 

  <body> 

    <script type="text/javascript">

        Ext.onReady(function () {

            Ext.MessageBox.alert("Hello");

        }); 

    </script> 

  </body> 

</html>

相关文章:

  • 2021-12-31
  • 2021-08-25
  • 2022-12-23
  • 2022-01-01
  • 2022-02-10
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
  • 2021-05-29
  • 2021-09-10
  • 2021-07-15
相关资源
相似解决方案