What is Reference Script Library in asp.net mvc 3?
I noticed when you make a strongly typed view you have an option to check a box called "reference script libraries"
http://gyazo.com/289392fc957866f19c4ae6d8b51a037e.png
In my case I don't have any strongly typed 开发者_如何学Cviews but what references does it add?
It just adds this:
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
精彩评论