Return to Snippet

Revision: 52936
at November 6, 2011 20:43 by vtoman


Initial Code
// In Master page
@RenderSection("Script");

// In View
@section Script
{
    // Showing jQuery intellisense but not rendering it
    @if (false) { <script src="~/Scripts/jquery-1.5.1-vsdoc.js" type="text/javascript"></script> }
    <script type="text/javascript">
        
    </script>
}

Initial URL

                                

Initial Description

                                

Initial Title
Including javascript in MVC 3 View

Initial Tags

                                

Initial Language
C#