ExtJS新手學習中常見問題

1.經常出現運行以後不出現應該出現的效果。
這種狀況通常是引用ExtJS路徑不正確,要確保路徑正確。javascript

示例:css

<!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>
相關文章
相關標籤/搜索