| author | cavaliet |
| Fri, 21 Jun 2013 16:36:35 +0200 | |
| changeset 157 | 78e434cb420c |
| 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 ); }); });