Home
> CRM 2011, JScript > “$ is undefined” error while calling OData Service using JQuery & CRM 2011
“$ is undefined” error while calling OData Service using JQuery & CRM 2011
Hi,
In CRM 2011, you might have experienced “$ is undefined” error, while calling OData Service using JQuery.
Reason’s: –
- JQuery native support is not available in Microsoft CRM 2011.
- This was the exact reason why the Javascript was unable to recognize ‘$’ symbol.
Fix:-
The easiest way to get this working is by creating a new “Webresource” and adding “Jquery min” file to it.
Steps to follow :-
- Go to http://jquery.com and then to Download the Jquery file (i.e., jquery-1.6.2.min.js)
- find the latest Jquery min (select the minified version, at the time of writing ‘jquery-1.6.2.min.js‘ was the latest)
- Now go to CRM 2011 and create a web resource
- Add the new Web resource by name JQueryMin1.6.2 (JQuryMin<Verion>)
- Upload the Downloaded file to JQuery to this web resource.
- Now add this web resource to which ever form you want to use JQuery API
Hope this helps 🙂
Categories: CRM 2011, JScript
$ is undefined, CRM 2011, JScript, Using JQuery issue
Comments (0)
Trackbacks (1)
Leave a comment
Trackback
-
November 30, 2014 at 5:09 AMFix Error J Is Undefined Windows XP, Vista, 7, 8 [Solved]