jQuery’s $() vs. jQuery() and why you should use jQuery.noConflict();

I will keep this post short since it’s a fairly simple answer:

SharePoint uses the $() namespace in specific instances – one of these can be seen in the FAST Search Center and only in specific areas and page states.  When jQuery is called in the FAST Search center and jQuery.noConflict(); is not present, jQuery will mess with SharePoint’s $() and cause errors to pop up on the page.

The testing I did was a while back, so I don’t have a specific example or screenshots to share, but I know we spent hours troubleshooting until we found the culprit.

How it works

You add the line

to the top of your JavaScript block.  Then you replace all occurences of $(…) with jQuery(…) in your code (like the example below).

Instead of:


You can read more about the function on jQuery’s site.

I hope you found this helpful 🙂

  • Was this helpful?
  • yes   no