| author | Anthony Ly <anthonyly.com@gmail.com> |
| Tue, 18 Jun 2013 15:17:31 +0200 | |
| changeset 134 | 0282cb8db314 |
| 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 ); }); });