bingster Posted January 2, 2011 Share Posted January 2, 2011 Hi allI was in the situation where i needed the 1.4.2 version of jquery, so i did some searching and came up with this solution that works like a charm!.!)If you dont have jquery on your own server, then add this line:[removed][removed]and put it ABOVE the 1.2.6 jquery string.2) Add this line just beneath the 1.4.2 string:[removed] var $jq = jQuery.noConflict(); [removed]3) So now when you have a function you just have to add jq after $ = jq.ex:$jq('.selector').live('click', function(){ //do something }); Voila, now you can run multiple jquery versions with no problems, and add the latest and greatest. Link to comment Share on other sites More sharing options...
bingster Posted January 2, 2011 Author Share Posted January 2, 2011 sorry Link to comment Share on other sites More sharing options...
rocky Posted January 3, 2011 Share Posted January 3, 2011 You should paste the code again, then change <script> to <script> and </script> to </script> to prevent the code being deleted by the forums. Link to comment Share on other sites More sharing options...
Recommended Posts