integration/js/projet.js
author cavaliet
Mon, 24 Jun 2013 11:52:08 +0200
changeset 163 3a7a605dc886
parent 16 c66274d0d850
permissions -rw-r--r--
Added tag V00.01.10 for changeset 2b65085d0ed0

$(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 );
    });

});