Versions of .js files?

Versions of .js files?

beedrewbeedrew Posts: 9Questions: 0Answers: 0
edited July 2011 in General
Hello,

Sorry, bit of a newbie--I am not a professional programmer, just a hobbyist.

I've combined a few different examples found around this site that were developed by different people at different times, and now I'm wondering if I have redundant code loaded with my page.

Could someone tell me if one of these is the "most valid" or "most current":

jquery.js
jquery-1.4.4.min.js
jquery-ui.js

And the same question for these two?

jquery.dataTables.js
jquery.dataTables.min.js

Thanks,

Beth

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    The "min" version is just a compressed copy of the full source code. This is good for production sites since you don't want to waste bandwidth. You should only include one version of jQuery, DataTables and any other library you have. Generally it is best to use the latest version of each library, which can be downloaded from the libraries web-site: http://datatables.net/download , http://jquery.com etc.

    Allan
This discussion has been closed.