I am working in VS2012 on ASP.NET Web Forms project. The project has Site.Master page which is used for all pages. I can add script to the Site.Master where I can write jQuery function; no problem. But how and where do you place the script code to use jQuery if I want it in a certain page of the project? The page (because it uses Site.Master) does not have Head section but has only one section:
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
If I write script before the above line I get VS problem "Only Content controls are allowed directly in contect page ..."
What am I missing?
TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham