Search code examples
javascriptjquerydynamics-crmwebresource

Dynamics CRM - How to use JQuery in a Javascript Web ressource


I have a script that is launched in ribbon command in order to perform an action but it's written in simple javascript. As I would like to improve it, I would like to use JQuery instead. The script is located in a solution that is uploaded in solutions, should I add the jquery file inside the solution ? How can I use it ?


Solution

  • You should be able to access jQuery like this:

    $ = ($ || parent.$);