jquery - Where to reference a javascript file in a aspx page that rely on a MasterPage? -
i know it's recommended that script tags reference javascript files should put way bottom.
in case of webform, supposed place tags, inside maincontent placeholder? going put on bottom masterpage?
<asp:content id="content1" contentplaceholderid="head" runat="server"> //css files can go here... </asp:content> <asp:content id="content3" contentplaceholderid="maincontent" runat="server"> </asp:content> the reason i'm asking because don't want use jquery in master page it's messing rest of page. want run on handful of pages.
thansk helping.
wherever put it, needs above other script uses it. preferable nowadays more of convention requirement.
Comments
Post a Comment