【问题标题】:Conflicting Scripts (javascript and jquery)冲突脚本(javascript 和 jquery)
【发布时间】:2014-12-04 19:21:32
【问题描述】:
<script type="text/javascript" src="js/prototype.lite.js"></script>


<script type="text/javascript" src="js/jquery.csvToTable.js"></script>
<script>
    $(function() {
        $('#CSVTable_Pach').CSVToTable... 
    });

顶部的脚本是灯箱功能的一部分,但它不允许显示表格。

如何解决这些脚本之间的冲突?

link to the site

【问题讨论】:

标签: javascript jquery html scripting conflict


【解决方案1】:

您可能会遇到冲突,因为这两个库都使用 $ 快捷方式。查看 jQuery 的无冲突特性或原型的等效特性。

您可以在此处阅读更多信息:jQuery ... Avoiding Conflicts with Other Libraries

【讨论】:

    猜你喜欢
    • 2014-03-02
    • 2011-07-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多