Input Tag Editor In Vanilla JavaScript | Tagger

Tagger is a vanilla JavaScript tag editor. This plugin is a small but full-featured JS tagging system that enables the user to insert tags into the input field.

How to make use of it:

To use the tagging system, place Tagger’s JavaScript and Stylesheet within the HTML doc.

<link href="tagger.css" rel="stylesheet">
<script src="tagger.js"></script>

Create a normal input field for the tagging system.

<input type="text" name="tags" />

Initialize the Tagger on the input field and executed it.


Determine whether to allow white areas within the tags.

tagger(document.querySelector('[name="tags"]'), {
  allow_spaces: true

Determine whether or not to permit duplicate tags.

tagger(document.querySelector('[name="tags"]'), {
  allow_duplicates: false

Specify what must be within the href attribute.

tagger(document.querySelector('[name="tags"]'), {
  link: function(name) {
    return `javascript:alert('${name}');`;

Add/take away a tag programmatically.


Minimal Tagging Input, Tiny Text Field Based Tags Input Plugin, Tagger Plugin/Github

See Demo And Download

Official Website(jcubic): Click Here

This superior jQuery/javascript plugin is developed by jcubic. For extra advanced usage, please go to the official website.

Related Posts


[Icon Picker] Iconpicker for Bootstrap 5 Icons Library

Bootstrap 5-based icon picker which supports any icon libraries like Bootstrap Icons, Font Awesome[], etc. Must Read: 1000+ Pixel Perfect SVG Icons For Vue Components | Unicons How…


Bootstrap Multiple Image Upload with Preview and Delete | ImagesLoader

ImagesLoader is a standard bootstrap image upload plugin that provides an easy-to-use and nice-looking interface for uploading multiple images to a web server. Must Read: HTML 5…


A Lightweight jQuery Plugin for Animating Split-Flap Displays | fallblatt

fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure…


Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…


jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization. Features Periodic count with the specified period…


Dynamic, Data-driven Periodic Table built with Vue.js

Periodicity is a dynamic, data-driven periodic table created with Vue.js that uses D3 animations and graphs to show the beauty of periodic trends. Built With vue.js (component…