I have just started to learn jQuery + ASP.NET MVC. Whatever tutorials I have read about jQuery, they suggest that all jQuery code should be in head element.
Now in the ASP.NET MVC project, I have one master page which is responsible for head element. In other view pages, I get content place holder which draws in body element.
I am confused now. Should I ignore the advice of keeping jQuery in head element or there is some way to write different jQuery code in each view page?