Activity Forums Salesforce® Discussions Custom Javascript button error - dialog is not a function

  • shafali

    Member
    April 28, 2016 at 10:51 am

    Hi Abhinav,
    TypeError: $(...).dialog is not a function is the error you get out of Firefox when you have not loaded jquery UI. Other browsers have equivalent errors. You can

    (1) Double check that your dev server has a working and non-firewalled connection to http://code.jquery.com/ui/1.10.3/jquery-ui.js, or better yet -

    (2) Download a minified jquery-ui.js and include it in a third-party or lib directory on your server, then source it from there (this is commonly seen practice).

     

  • Prafull

    Member
    April 28, 2016 at 11:21 am

    Hi Abhinav,

    The latest and stable version of jQuery UI is 1.11.4. you can download this package as a zip folder here .

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos