master page, but the script files are not loading in masterpage.
Can anyone suggest me how to achieve this?
You can upload your
Style Library and use the
SharePoint:Scriptlink tag in Master Page to load it.
If you have a js file called
Site Contents -> Style Library, create a folder for your custom scripts to lie, and upload the one which you want to use.
Then open up your master page and in the header section add a
Scriptlink tag to load the
<SharePoint:Scriptlink ID="Scriptlink9" runat="server" name="~SiteCollection/Style Library/YourFolderName/YourScriptName.js" language="javscript" />
The above tag goes in