'jQuery' is undefined

rss

Posted by schuess - Aug 4 ’16 at 01:26

I would like to reference a jquery library on my form, but I too am struggling with the propper procedure to accomplish it. I have done some research on this forum, but have found so many different suggestions, i am not sure which to pick.

 

window.$ = $;

window.jQuery = $;

var $ = Plumsail.FD.jQuery;

var $ = $fd_jQuery;

 

I am not a expert javascript programmer. Please instruct me on how to accomplish this.I have already added the script tag to my masterpage that correctly referrences the .js file.

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 4 months 2 days
    #1 by Dmitry Kozlov Aug 5 ’16 at 10:03

    Hi Matt,

    Put the following code into JS-editor of Forms Designer:

    window.$ = window.jQuery = $;

    After this code, you can load external scripts that require jQuery.

Displaying 1 to 1 of 1 messages