integration/js/projet.js
author ymh <ymh.work@gmail.com>
Fri, 30 Jan 2015 13:24:51 +0100
changeset 188 f5e6bdcada07
parent 16 c66274d0d850
permissions -rw-r--r--
correct page title

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

});