The same thing happen in my SharePoint sites too. When I tried to migrate from SharePoint 2007 to SharePoint 2010, the client side script [JQuery] custom developed is not working. The only reason behind is the conflicts in the javascript. The file SP.js in the SharePoint 2010 causing the problem.
So, make sure, if you have used JQuery in your applications, always the best practice is declare the Jquery global instance variable and then start using that instead of directly use the $(). For example,
var $j = jQuery.noConflict(); // Use jQuery via $j(...) $j(document).ready(function(){ $j(".someclass").hide(); });So, in the above code, we actually referring the $j() instead of directly $(), so it won't give any problems in future. No matter what how many different client side javascript technologies used, that should work. For more information check it here.
Hope you like this post and love to hear comments.
Thank you so much.
ReplyDeleteI have faced this problem...and lost a day to fix it.
And I found your topics, and everything is ok now
Thank you so much!!!
ReplyDeletethanks,
ReplyDeletegood solution, its working now...
ReplyDeletethanks
I have lightbox2 and another jquery plugin runngin. When i used your method the lightbox2 stop working correctly. Any ideas?
ReplyDeleteThank Yo So much.. Its working in great way.
ReplyDeleteBrilliant! Worked for me, thanks.
ReplyDeleteAh! Excellent solution.!
ReplyDeleteI still hate javascript, though...
i tried this several times - thanks to you i have done what i thought was impossible.. you rock!
ReplyDeleteSorted my problem. Thanks!
ReplyDeleteExcelent !!! 2 mim and my problem was solved !
ReplyDeleteExcelent !!! 2 mim and my problem was solved !
ReplyDeleteThank you for your great help !!!!!!!!!!!!!!!!!!
ReplyDeleteThis works great! Thank you!!
ReplyDeleteGreat Working.......
ReplyDeleteThank you so much.......