Ive recently moved a project over to MVC4 and happily using script bundles to render scripts at end of the content.
The problem has arisen whereby some actions that are rendered (using Html.RenderAction) require their own script - in this example some jQuery event handlers set once the document is ready.
Aside from moving the jQuery inclusion so that it's earlier is there an elegant way of registering some script (or file) so that it's rendered after the bundles.
e.g.
<body>
@{Html.RenderAction("myaction",pars..);}
@section scripts {
@Scripts.Render("~/bundles/myscriptbundlecontainingjquery")
}
</body>
thanks