integration/js/projet.js
author Anthony Ly <anthonyly.com@gmail.com>
Fri, 07 Jun 2013 11:32:20 +0200
changeset 94 79c19e74a121
parent 16 c66274d0d850
permissions -rw-r--r--
Merge

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

});