本人初学,照着视频做了个小例子,用firefox加载页面时,firebug中出现几百条警告信息,很慢很慢,有时firefox直接崩溃,我更崩溃!
http://img.my.csdn.net/uploads/201304/01/1364826445_5420.jpg
0401.html内容为:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<link rel="stylesheet" type="text/css" href="../ext4.0/resources/css/ext-all.css">
<script type="text/javascript" src="../ext4.0/bootstrap.js"></script>
<script type="text/javascript" src="0401.js"></script>
</head>
<body>
</body>
</html>
0401.js内容为:
(function(){
Ext.onReady(function(){
alert(12);
})//onReady
})();
用的是Extjs4.0.7的官方插件,望各位高人指个道,在此谢过!extjsjavascript
http://img.my.csdn.net/uploads/201304/01/1364826445_5420.jpg
0401.html内容为:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<link rel="stylesheet" type="text/css" href="../ext4.0/resources/css/ext-all.css">
<script type="text/javascript" src="../ext4.0/bootstrap.js"></script>
<script type="text/javascript" src="0401.js"></script>
</head>
<body>
</body>
</html>
0401.js内容为:
(function(){
Ext.onReady(function(){
alert(12);
})//onReady
})();
用的是Extjs4.0.7的官方插件,望各位高人指个道,在此谢过!extjsjavascript
不用ext4,用ext3就行了
这个版本貌似有点旧了吧?
你用4.1的试下,应该正常