Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install jQuery Validate plugin?

I am a novice in jQuery plugin's usage. Now I am faced with adding a new plugin to my project.

It is the jQuery Validation plugin.

I downloaded the archive from the official site.

Content of this archive looks like this:

enter image description here

As I understand, there are a lot of redundant files which I shouldn't install in my project (demo for example).

Can you briefly describe archive structure and which files I should use?

EDIT:

lib content: enter image description here

like image 580
gstackoverflow Avatar asked May 08 '26 12:05

gstackoverflow


1 Answers

Usually it is enough to look in the dist folder. Probably it would be enough to have the jquery-validate.js file, or the min version of it if you don't want to browse the code. (+ probably things in the lib folder)

However usually we keep the folder of the plugin in a Scripts folder with at least the dist and lib subfolders.

like image 99
DDan Avatar answered May 11 '26 15:05

DDan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!