helle world经典程序
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>hello worldi演示</title>
<!--引入必要的ext库文件-->
<script src="../adapter/ext/ext-base.js"></script>
<script src="../ext-all.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
</head>
<body>
<script>
function HelloWorld(){
Ext.MessageBox.alert("Hello World","这里是EXT的世界!");
}
Ext.onReady(HelloWorld);
</script>
</body>
</html>