Answer:
By default, visual studio doesn't provide Jquery intellisense support, but it can be achieved by adding vsdoc.js file to razor view.
@if(false)
{
<script src="~/script/jquery-1.7.1-vsdoc.js" type="text/javascript"></script>
}
No te : If statement prevents the rendering of script tag into the Html source code and it used only by visual studio for Jquery intellisense support.
Asked In: Many Interviews |
Alert Moderator