locked
Crm 2015 online - ReferenceError on accessing '$' RRS feed

  • Question

  • Accessing JQuery 1.7.2 on a form has stopped working in the online environment after the latest update:

        $(document).ready(

    function() {

      $(

    "<link/>", { rel: "stylesheet", type: "text/css", href: Xrm.Page.context.getClientUrl() +  "/WebResources/tss_duplicatepopupcss"}).appendTo("head");

    }

    //order of libraries

    //1-JQuery 1.7.2

    //2-Crm JQuery SDK REST library

    //3-Javscript code to load css and third party fully qualified utility functions to parse XML from data retrieved from REST call

    //this library will display a JQuery dialog popup on an [onchange] event

    //this code works in Crm 2013 on premise and Crm 2015 onpremise. it was also working in Crm 2015 online (until this last online update)

    Wednesday, May 27, 2015 3:08 PM

Answers