MVC 4 WebGrid and Jquery produces two errors. JQuery is undefined and a sort error after ajax model change
问题 Inside my div element I am updating is a page partial with a webgrid and when I specifiy ajaxUpdateContainerId: in the webgrid constructor I get the error: JavaScript runtime error: 'jQuery' is undefined Here is the generated javascript the error references: <script type="text/javascript"> (function($) { $.fn.swhgLoad = function(url, containerId, callback) { url = url + (url.indexOf('?') == -1 ? '?' : '&') + '__swhg=' + new Date().getTime(); $('<div/>').load(url + ' ' + containerId, function