integration/js/projet.js
author Anthony Ly <anthonyly.com@gmail.com>
Thu, 16 May 2013 14:00:50 +0200
changeset 9 e3d551eda5a6
parent 6 547b3ddedf7f
child 16 c66274d0d850
permissions -rw-r--r--
ajout de common.js

$(function(){

    $('body').on('click focus', 'input[readonly]', function(e){
        $(this).select();
    });

//ZeroClipboard (fonctionne sous localhost)
    var clip = new ZeroClipboard( $('.clipboard'), {
      moviePath: "lib/ZeroClipboard/ZeroClipboard.swf"
    });
    clip.on( 'complete', function(client, args) {
      alert("Copied text to clipboard: " + args.text );
    });

});