Skip to main content
Hosun
Inspiring
June 21, 2019
Answered

How to get a new version for jQuery?

  • June 21, 2019
  • 1 reply
  • 807 views

Hi,

I have the tag below for jQuery.

<script src="https://code.jquery.com/jquery-3.4.0.min.js" integrity="sha256-BJeo0qm959uMBGb65z40ejJYGSgR7REI4+CW1fNKwOg=" crossorigin="anonymous">

</script>

I just wonder, if I want to get a newer version, if any, where would I go?

Hosun Kang

The title was edited by Moderator.

This topic has been closed for replies.
Correct answer BenPleysier

Go to jQuery CDN

1 reply

BenPleysier
BenPleysierCorrect answer
Adobe Expert
June 21, 2019

Go to jQuery CDN

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Hosun
HosunAuthor
Inspiring
June 21, 2019

Hi,

Thank you very much for your reply.

jQuery Core 3.4.1 has 4 options: uncompressed, minified, slim, slim minified.

Where does the difference come from?

Hosun Kang

BenPleysier
Adobe Expert
June 21, 2019
  • Uncompressed is the readable format for jQuery with spaces and line breaks, making it a lot easier for you to read and get a better understanding of the framework.

  • Minified has spaces and line breaks removed making the file smaller in size and faster to load. Just to point out as well, you are better using the minified version (.min) for your live environment as Google are now checking on page loading times. Having all your JS file minified means they will load faster and will score you more brownie points.

  • In an endeavour to make the jQuery library smaller, in jquery.slim.js, the following features are removed:
    1. jQuery.fn.extend
    2. jquery.fn.load
    3. jquery.each // Attach a bunch of functions for handling common AJAX events
    4. jQuery.expr.filters.animated
    5. ajax settings like jQuery.ajaxSettings.xhr, jQuery.ajaxPrefilter, jQuery.ajaxSetup, jQuery.ajaxPrefilter, jQuery.ajaxTransport, jQuery.ajaxSetup
    6. xml parsing like jQuery.parseXML,

           7. animation effects like jQuery.easing, jQuery.Animation, jQuery.speed

        Sometimes a widget will use one or more of the removed fetures in which case you will need to load the full version.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!