Friday 25 March 2016

MVC - Fix the following error: 0x800a1391 - JavaScript runtime error: 'jQuery' is undefined


Watch this example on YouTube:


in order to fix
0x800a1391 - JavaScript runtime error: 'jQuery' is undefined

in _Layout file replace:
        @Scripts.Render("~/Scripts/jquery.unobtrusive-ajax.js")
    </head>

with

        @Scripts.Render("~/Scripts/jquery-1.8.2.min.js")
        @Scripts.Render("~/Scripts/jquery.unobtrusive-ajax.js")
    </head>

2 comments: