Get started with jquery-tagsinput CDN

ISC licensed

The jQuery TagsInput plugin is a lightweight library for adding and managing dynamic, autocomplete-enabled input fields for multiple tags in a single form input.

Tags:
  • jquery
  • tags

Stable version

Copied!

How to start using jquery-tagsinput CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jquery-tagsinput CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.cdnhub.io/jquery-tagsinput/1.3.6/jquery.tagsinput.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.cdnhub.io/jquery-tagsinput/1.3.6/jquery.tagsinput.min.js"></script>
</head>
<body>
    <div class="container mt-5">
        <h1 class="text-primary mb-3">jQuery Tags Input Example</h1>
        <div class="input-group mb-3">
            <input type="text" class="form-control" id="myInput" name="tags[]">
            <div class="input-group-text" id="btnGroupAddon">
                <button class="btn btn-outline-secondary" type="button" data-toggle="button" aria-label="Add tag" data-toggle="tagsinput" data-title="Add tag">
                    <i class="fas fa-tags"></i>
                </button>
            </div>
        </div>
    </div>

    <script src="https://kit.fontawesome.com/a076d05399.js"></script>
    <script>
        $(document).ready(function() {
            $('#myInput').tagsinput();
        });
    </script>
</body>
</html>
Copied!
Copied!

All versions