Copy Text To Clipboard Plugin – Clipboard.js

Copy Text To Clipboard Plugin – Clipboard
File Size: 9.95 KB
Views Total: 3180 views
Last Update:April 20, 2024
Publish Date: September 18, 2015
Official Website: Go to website
License: MIT
Plugin Author:
Demo    Download

Free jQuery Plugins Clipboard.jsBy copying a text to the clipboard is not a hard process. It does not require many steps to copy the input texts to clipboard. It is in easy steps to configure or hundreds of kBs to load but the most of all it does not depend on any of the flash or any of the bloated framework. It covers the div area.

Table of Contents

How to use :

1. Add jQuery Library with clipboard.js link :

<script src="/jquery.min.js"></script>
<script src="dist/clipboard.min.js"></script>

2. Add To use the data-clipboard-text data attribute with use data-clipboard-target data attribute :

<div>Hello Copy 1</div>
    <button class="btn" data-clipboard-action="copy" data-clipboard-target="div">Copy </button>

3. Finally, you’ll want to instantiate it with all elements with a class of clipboard:

$( document ).ready(function() {
  var clipboard = new Clipboard('.clipboard');


Thanks for make jQuery plugin is developed by For more Helpfull for users, please check the demo page or visit the official website.
List Of Version :
  • v2.0.11
  • v2.0.10
  • v2.0.9
  • v2.0.8
  • v2.0.7
  • v2.0.6
  • v2.0.5
  • v2.0.4
  • v2.0.3
  • v2.0.2
  • v2.0.1
  • v2.0.0
  • v1.7.1
  • v1.7.0
  • v1.6.1
  • v1.6.0
  • v1.5.16
  • v1.5.15
  • v1.5.14
  • v1.5.13
  • v1.5.12
  • v1.5.11
  • v1.5.10
  • v1.5.9
  • v1.5.8
  • v1.5.7
  • v1.5.6
  • v1.5.5
  • v1.5.4
  • v1.5.3

Nola Arney

Nola Arney is a full stack web developer who has Author at jQuerypost. Her ambition for development is only matched by his desire to find the perfect meme for every occasion.

Related jQuery Plugins

You Might Also Like