You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I hear you. It's a legacy application and NuGet is what it was using. I was just updating dependencies and everything broke because it didn't update jQuery as well, so thought I would mention it.
Your environment
jquery-validate
: v1.19.5Current behavior
The jQuery version dependency that NuGet has is
>= 1.4.4
instead of>= 1.7.2
which is listed inbower.json
.https://www.nuget.org/packages/jquery.validation#dependencies-body-tab
Error caused:
Uncaught TypeError: $(...).on is not a function
Expected behavior
jQuery version dependency in NuGet should be at least
>= 1.7
as$(...).on
was added in jQuery 1.7 - https://api.jquery.com/on/Live demo
https://jsbin.com/wofivuheze/edit?html,console,output
The text was updated successfully, but these errors were encountered: