Do both these files have the same content? Or do they provide different functionality so we need to include both of them? I’m new to jQuery so would like to know. Thanks.
Do both these files have the same content? Or do they provide different functionality
Share
The contents are NOT same, but the functionality is same and You should include only one of them.
jquery-1.7.1.js -> This is the actual version of the script which will be used by developers. Ideal for development environment.
jquery-1.7.1.min.js -> This is the minified version of the actual script(something like compression) ideally used in QA/Production environment.
Read about minification and its benefits -> http://www.alistapart.com/articles/better-javascript-minification/