ExtJS新手学习中常见问题

来源:互联网 发布:软件测试原则包括 编辑:程序博客网 时间:2024/04/29 11:04

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>
0 0
原创粉丝点击