我使用两个Javascript文件时出现问题 [英] problem when i used two Javascript files
本文介绍了我使用两个Javascript文件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友,
我在asp.net中做了一个聊天模块,它可以作为一个单独的模块正常工作,但是当我将其集成到我的项目中时,由于Jquery中的冲突,它无法正常工作.
我使用jquery-1.6.2.min.js进行聊天,并且在我的WebForm中已经有另一个js文件,即
当我同时包括jquery-1.2.6.min.js时,它不起作用.我需要同时使用两个js.给我解决方法.
感谢u
Hi Friends,
i did a chat module in asp.net it works fine as a separate module but when i integrate it in my project then its not work properly because of conflict in Jquery.
i used jquery-1.6.2.min.js for chating and in my WebForm already another js file i.e
jquery-1.2.6.min.js when i include both then it not works. I need to use both js. give me solution.
Thank u
推荐答案
您可以尝试以下方法:
http://web.enavu.com/daily -tip/using-multiple-versions-of-jquery-on-the-same-page/ [
You could try this:
http://web.enavu.com/daily-tip/using-multiple-versions-of-jquery-on-the-same-page/[^]
Another solution might be to simply load the chat in a separate iframe. That way it looks integrated but actually is just another window with its own separated source.
Good luck!
这篇关于我使用两个Javascript文件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文