I have a site with jQuery referenced in the master page, I want to add new code to add functionality to the site and utilize jQuery. When I use custom action:
<CustomAction ScriptSrc="~SiteCollection/Style library/MyFolder/MyNewJS.js" Location="ScriptLink" Sequence="12"/>
to add my JS reference, it references my .js file before the jQuery file in the master page, so I keep having the
$ is undefined when I use my .js file.
Any idea how to add the JS file after the jQuery file using custom action or to add it to the body of the page?