integration/js/projet.js
author cavaliet
Mon, 03 Jun 2013 12:52:59 +0200
changeset 65 1c08f6ef5651
parent 16 c66274d0d850
permissions -rw-r--r--
project preview

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

});