开始
我们将使用 Ext ,来完成一些 JavaScript 任务。入门之前,都看
helloworld 。
进入 Ext2.0 的 examples 目录,新建一个 helloworld 目录, helloworld 目录
下新建一个 helloworld.html 文件,将下列内容复制进 helloworld.html 文件
中。
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../../ext-all.js"></script>
<script type="text/javascript" src="../examples.js"></script>
<script>
Ext.onReady(function(){
Ext.MessageBox.alert('helloworld', 'Hello World.');
});
</script>