Using JQuery in a Module... Path Issue... | diego | 2016-04-26 14:16 |
Status: Closed | ||
Nick, Have notice that if I only modify the dependencies on the "helloWorld.view.xml" the jQuery script is not called... file attached. Also tried adding a subfolder under "web/helloworld/jquery-x.js" but to no avail. the second screenshot displays the folder structure I am using and the firebug error -> "NetworkError: 404 Not Found - http://localhost:8080/labkey/helloworld/jquery-2.2.2.min.js?161624521" Thanks, Diego #################### JAVASCRIPT ################### // Request the scripts -- you do not need to provide the Context Path */ LABKEY.requiresScript([ 'helloworld/jquery-2.2.2.min.js', 'helloworld/jquery-ui-1.11.4.custom/jquery-ui.js' // add more files to this array ], true, jQueryReady, this, true |
||