rabesh Posted June 6, 2011 Share Posted June 6, 2011 I used Jquery plugins for the slider, drop down menu and date. But there is conflict on the function how can i solve this problem i used following code to remove the conflict but not removed <script> jQuery.noConflict(); (function($) { $(function() { // more code using $ as alias to jQuery }); })(jQuery); </script> <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> Plz tell me how to remove the conflict Jquery date plugins doesnot work all other plugins work If i remove other plugins then date plugins works Plz solve that problem Thanks Quote Link to comment https://forums.phpfreaks.com/topic/238541-jquery-help-for-conflict/ Share on other sites More sharing options...
Maq Posted June 6, 2011 Share Posted June 6, 2011 noConflict() relinquishes the '$' alias to another library. If you want to continue using jQuery, you must use 'jQuery'. Quote Link to comment https://forums.phpfreaks.com/topic/238541-jquery-help-for-conflict/#findComment-1225997 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.