Reputation: 941
I am working on ASP.NET web forms project. I am confused as far as what jQuery I need to have in the Script of the page(s) for the .NET 4.5 unobtrusive validation. In some articles I read that I need to have jquery and in some others it says that I need to have jquery.validate. So do I need both of these .js libraries?
Upvotes: 0
Views: 121
Reputation: 337560
jquery.validate.js
relies on jquery.js
, so you need both included. Also, ensure that you reference jquery.js
before validate otherwise you will get errors.
Upvotes: 1