Microsoft Visual Studio error while nu-get packages update

Asked By 0 points N/A Posted on -
qa-featured

Hello,

 

I received the lots of JavaScript errors as shown below when I tried to update the nu-get packages for my newly created MVC4 website. Is there any way to resolve the following issue? I really need your help as soon as possible. Any assistance would be appreciated.

 

Thanks in advance.

Error:

Unhandled exception at line 115, column 5 in http://localhost:15657/Scripts/jquery.unobtrusive-ajax.js 0x800a01b6 – JavaScript runtime error: Object doesn't support property or method 'live'

SHARE
Answered By 15 points N/A #176749

Microsoft Visual Studio error while nu-get packages update

qa-featured

The cause of this error is that the method 'live' you are trying to has been deprecated in jQuery 1.7 and completely been removed from version 1.9 onwards.

To resolve this issue there is a replacement method 'go' that can be used, which accepts three parameters The event (like live, will "submit"), A selector (elements "children"), The handler function (like live).

Related Questions