2008-01-11

hello world 问题?

关键字: 第一个ext的helloworld例子
[color=darkred][/color]我按照网上说的例子去试了下,没想到第一个例子都出不来,最上面导入EXT的JS文件:

ext-all.css. ext-all.js. ext-base.js. ext-lang-zh_CN.js

helloworld.html:
<html>
<head>
<title>hello</title>
<script type="javascript">
Ext.onReady( function() {
Ext.MessageBox.alert("hello world!");
});
</script >
</head>
<body>
<div id="myDiv"></div>
</body>
</html>

为什么会出不来呢?还需要导入其他文件吗?
评论
wufei1310 2008-01-18
注意JS的导入顺序
caocao12 2008-01-11
怎么没人回答呢? 我是第一次使用EXT,还请指教.
发表评论

提醒: 该博客已发表在公共论坛,博客所有留言会成为论坛回贴,留言请注意遵守论坛发贴规则

您还没有登录,请登录后发表评论

caocao12
搜索本博客
博客分类
最近加入圈子
最新评论