在同一页面上使用Ajax和Mootools时发生冲突 [英] Confliction when using Ajax and Mootools On same Page

查看:82
本文介绍了在同一页面上使用Ajax和Mootools时发生冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hiii ......
我有一个问题,当我在它们的项目中的同一页面上使用mootools和ajax无法正常工作时,我该怎么办才能在同一页面上实现这两者呢?
请帮帮我

Raj Kumar

Hiii......
I have problem that when i using mootools and ajax on same page in a project on of them is not working.What can I do to implement both on same page .
Please Help me

Raj Kumar

推荐答案

好吧,当您无需学习AJAX是什么,而只是下载库并尝试盲目使用它们时,它们冲突就不足为奇了.不幸的是,现在您将需要充分理解AJAX来调试页面并弄清楚冲突的位置,以便您可以解决它.
Well, when, instead of learning what AJAX is, you just download libraries and try to use them blindly, it''s hardly surprising that they conflict. Sadly, now you will need to understand AJAX enough to debug your pages and work out where the conflict is, so you can work around it.


写道:​​

如何在同一页面上实现两者.

What can I do to implement both on same page .



您需要使用View-Source查看整个响应,以确定两者都钩住了代码的哪一部分,并给两者造成了麻烦.

;)



You need to see the entire response using View-Source to determine which portion of code is hooked by both and creating troubles for both.

;)


这篇关于在同一页面上使用Ajax和Mootools时发生冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆