title: Where to write jQuery script in ASP.NET page?
body: <p>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 iQuery script 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:</p>
  
  <pre><code>&lt;asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent"&gt;
  </code></pre>
  
  <p>If I write script before the above line I get VS problem "Only Content controls are allowed directly in contect page ..."</p>
  
  <p>So where would I put the jQuery script specific to one page?</p>