ExtJS新手学习中常见问题

1.常常出现运行之后不出现应该出现的效果。
这种情况一般是引用ExtJS路径不正确,要确保路径正确。

示例:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello World</title>
    <link rel="stylesheet" type="text/css" href="ext-4.2.1.883/resources/css/ext-all.css"/>
    <script type="text/javascript" src="ext-4.2.1.883/bootstrap.js"></script>
    <script type="text/javascript" src="ext-4.2.1.883/locale/ext-lang-zh_CN.js"></script>

    <script type="text/javascript">
        Ext.onReady(function(){
            Ext.Msg.alert('提示','<font color=red>支持HTML格式文本</font>');
        });
    </script>
</head>
<body>

</body>
</html>
posted @ 2016-05-27 15:36  huahai  阅读(113)  评论(0编辑  收藏  举报