I'm trying to run a simple script on a document library on a team site. I'm quite new to doing anything with sharepoint other than using OOTB features, so forgive me if this is a painfully simple question.
I've added the script link by entering:
< SharePoint:ScriptLink language="javascript" name="~sitecollection/SiteAssets/custom.js" runat="server" Localizable="false" />
under the head tag in 'seattle.master' in SPD. I added the code to my custom.js file which I uploaded to my site assets library on the root site.
I'm not achieving my expected result.
My question is: Am I making any obvious mistakes, or does the error most likely reside in my code?