integration/js/projet.js
author Anthony Ly <anthonyly.com@gmail.com>
Tue, 11 Jun 2013 18:06:06 +0200
changeset 124 271d3c41f007
parent 16 c66274d0d850
permissions -rw-r--r--
text editor define markup to html

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

});