Hi Guys,
I have a queston that when I am putting <script src="~/Scripts/jquery-1.10.2.js"></script> in my Index.cshtml then JQuery is loading properly,
however when I am keeping it inside as below. It's doesn't load/work.
@section scripts{
@Scripts.Render("~/Scripts/jquery-1.10.2.js") //Doesn't work
}
Interestingly, one more JS file is loading is either ways.
<script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script> //Works
@section scripts{
@Scripts.Render("~/Scripts/jquery.unobtrusive-ajax.js") //Works
}
Any idea why it's happening like this? Is it related to timing/sequence or there is something else?
Thanks