0
我继承了一大堆旧样机的项目。我试图在noconflict模式下使用jquery,但出现错误:jquery原型冲突
未终止的字符串文字。
萤火虫指向原型函数指定者的误差(){}
不知何故的jquery或jQuery的用户界面与原型冲突的即使我在noconflict模式使用jquery。
任何想法?
----更新 - MY NOCONFLICT CODE ----
<!-- the rest of these should will eventually be replaced with jquery and custom js in the agistix js dir -->
<script src="/fs/scripts/lib/jquery/[email protected]@" type="text/javascript" />
<script src="/fs/scripts/[email protected]@" type="text/javascript" />
<script src="/fs/scripts/lib/prototype/[email protected]@" type="text/javascript" />
<script src="/fs/scripts/[email protected]@" type="text/javascript" />
<script type="text/javascript" src="/fs/scripts/[email protected]@" />
<script src="/fs/scripts/lib/scriptaculous/[email protected]@" type="text/javascript" />
<script src="/fs/scripts/lib/scriptaculous/[email protected]@" type="text/javascript" />
<script src="/fs/scripts/lib/scriptaculous/[email protected]@" type="text/javascript" />
<script>jQuery.noConflict();</script>
<script src="/fs/scripts/lib/jquery/[email protected]@" type="text/javascript" />
你可以发表你的noconflict代码吗 – Kishore
你能显示代码吗? –
添加了noconflict代码 –