I've used this before but i've forgotten the name of the method. I'm guessing it must be exclusive to MVC3/Razor. Is there a method that allows you to include a JavaScript or CSS file and then specify that it should be in the head. I remember it as two different methods similar to the following
IncludeJS("my.js").AtHead();
IncludeCSS("my.css").AtHead();
They might be HTML helpers but I can't find any reference to them anywhere. Am I going mad?
Check this question, best answer supposed to do what you need: ASP.Net MVC 3 Razor: Include js file in Head tag
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With