Inclue Javascript in Orchard

Topics: General
Sep 21, 2011 at 3:35 PM

Was hoping someone could help me, how do I include javascript into the header of my Orchard site? I've been trying Script.Include() but it includes the script after the html tags.

Any help would be appreciated.

Thanks

Coordinator
Sep 21, 2011 at 4:39 PM

Default behavior is to inject scripts at the end. You can force it at the head by using Script.Include().AtHead()