Click here to Skip to main content
15,311,385 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I want to add a Jquery plugin to my web site, have I to use the plugin's Javascript file & the JQuery Production or developemnt .js files. Can you guys why it is useful to use all that .js files?
Posted

1 solution

You need the plugin's Javascript file(s) and either one of the development or production main jQuery files.

The difference between the development and production version is really just size - the production one has been through a Javascript minifier to make it a lot smaller, but it makes it unreadable by eye. If you don't need to look through the source of the jQuery library (and if you're just using a plugin you probably don't) then use the production version.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900