| author | ymh <ymh.work@gmail.com> |
| Tue, 12 May 2015 14:36:11 +0200 | |
| changeset 198 | b7d90dd57afc |
| parent 16 | c66274d0d850 |
| permissions | -rw-r--r-- |
$(function(){ $('body').on('click focus', 'input[readonly]', function(e){ $(this).select(); }); //ZeroClipboard (fonctionne sous localhost) var clip = new ZeroClipboard( $('.clipboard'), { moviePath: ZeroClipboardMoviePath }); clip.on( 'complete', function(client, args) { alert("Copied text to clipboard: " + args.text ); }); });