Skip to content

Pequeño script para copiar al portapapeles un texto de un elemento.

License

Notifications You must be signed in to change notification settings

carlosbsdev/copyToClipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

CopyToClipboard

Dependencies

Pequeño script para copiar al portapapeles un texto de un elemento.

Ejemplo

<div id="text">Example</div>
<button id="copy">Copy this text!</button>
$("#copy").click(function(){
    copyToClipboard($("#text"));
}

Copiado al portapapeles: Example

About

Pequeño script para copiar al portapapeles un texto de un elemento.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published