jquery link 1

jquery link

                                                     
//Note: This is for version 3.5.0. You can change it here \/

Here is what the above code is Doing:
1. We’re importing the jQuery library from a CDN (Content Delivery Network).
2. We’re using the integrity attribute to make sure that the jQuery library we’re using is the one we expect.
3. We’re using the crossorigin attribute to make sure that the jQuery library we’re using is the one we expect.

The integrity and crossorigin attributes are used for Subresource Integrity (SRI) checking. This allows browsers to ensure that resources hosted on third-party servers have not been tampered with. Use of SRI is recommended as a best-practice, whenever libraries are loaded from a third-party source.

SRI is supported in Chrome version 45+, Firefox version 43+, Opera version 32+, Safari version 10+ and Edge version 17+.

If you want to use a different version of jQuery, you can change the version number in the code above.

You can find the latest version of jQuery on the jQuery CDN page.

You can also find the SRI hash for a specific version of jQuery on the jQuery CDN page.

You can also find the SRI hash for a specific version of jQuery on the jQuery CDN page.

Similar Posts