locked
need some guide line regarding few js file usage in mvc RRS feed

  • Question

  • User1183902823 posted

    i like to know about 3 js files and those are

    jquery.validate.unobtrusive.js
    jquery.validate.js
    jquery.unobtrusive-ajax.js

    tell me what does each js file ?

    what is the difference between jquery.validate.js and jquery.validate.unobtrusive.js file ?

    what is difference between jquery.validate.unobtrusive.js and jquery.unobtrusive-ajax.js file ?

    thanks

    Wednesday, January 17, 2018 11:04 AM

Answers

  • User-474980206 posted

    jquery.validate.js is a popular client validation framework written in jQuery.

    in microsoft trams unobtrusive is configuration via html data-* attributes rather than script.

    jquery.validate.unobtrusive.js is a client validation library used by MVC, and depends on the above validation library. normally you config jquery validation via a startup script, but the unobtrusive library uses data attributes rendered by html helpers.

    jquery.unobtrusive-ajax.js is a client library used to implement the client side of the Ajax.* helpers. again its configured via data-* attributes rather than script.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 17, 2018 3:50 PM