Get started with jquery CDN

MIT licensed

JQuery is a popular library for simplifying HTML document manipulation and handling events.

Tags:
  • jquery
  • library
  • ajax
  • framework
  • toolkit

Stable version

Copied!

How to start using jquery CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jquery CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/jquery/3.7.1/jquery.min.js"></script>
    <script>
        $(document).ready(function() {
            $('button').click(function() {
                $('p').toggle();
            });
        });
    </script>
</head>
<body>
    <button>Toggle Paragraph</button>
    <p>This is a paragraph.</p>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions