[jQuery] Getting ThickBox to work with other libraries
Hi guys.
I have developed a web app and am making various AJAX popups using
Thickbox. However some of these popups use other JS libraries (eg:
scriptaculous). I have tried to implement the suggestions in this
link: http://docs.jquery.com/Using_jQuery_with_Other_Libraries but
didn't help, I tried all three ways and had no success.
So basically my webpage has a few links and on one of the links once
its clicked it opens a popup (meant to) and there you can use
scriptaculous to edit some text. Now if I open the page with the
scriptaculuos stuff in directly (IE: not via popup) it all works fine.
If I try open it with the link it gives me a blank page and shows the
page is still loading but it never does, it also gives me JS errors
such as:
jQuery is not defined, AjaX is not defined etc...
Here is a brief peice of code to try clairify the situation:
<script type="text/javascript" src="<?php echo
SITEADDRESS."javascripts/jquery.js"; ?>"></script>
<script type="text/javascript" src="<?php echo
SITEADDRESS."javascripts/thickbox.js"; ?>"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
<script>
jQuery.noConflict();
</script>
the paths are all correct but there is some sort of conflict that
doesnt allow the page to load.
Please can anyone advise as to what the problem is and how to solve
it, anything would be welcome as its getting critical .
Thanks in advance.