PHP Classes

File: public/themes/default/js/copy.js

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   public/themes/default/js/copy.js   Download  
File: public/themes/default/js/copy.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 243 bytes
 

Contents

Class file image Download
function copyToClipboard(val, event) { var inp = document.createElement('input'); document.body.appendChild(inp) inp.value = val; inp.select(); document.execCommand('copy', false); inp.remove(); //alert('copied'); }