integration/js/projet.js
author veltr
Thu, 06 Jun 2013 18:45:29 +0200
changeset 92 14b9fc4a4a3d
parent 16 c66274d0d850
permissions -rw-r--r--
Corrected JSON serialization

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

});