title: ZeroClipboard Does not copy to clipboard
body: <p>I would like to have a button that when pressed on copies some text to the users clipboard. bellow is the javascript code and html code i am using</p>
  
  <pre><code>copyBuidToClipboard: function (e){
          //from https://github.com/zeroclipboard/zeroclipboard
          var client = new ZeroClipboard($(e.target).closest('button'));
          client.on("ready", function (readyEvent){
              console.log('I am Ready');
              client.on("copy", function (event){
                  event.clipboardData.setData("text/plain", "Copy Me!!!!");
              });
              client.on("aftercopy", function (event){
                  //event.target.style.display = "none";
                  console.log("Copied");
              });
          });
  
          client.on('error', function (event){
              console.log( 'ZeroClipboard error of type "' + event.name + '" occurred: ' + event.message );
          });
      },
  
  
  
  
  
  &lt;button data-hook="copyClip" title="Copy buid to clipboard" class="btn btn-default btn-xs"&gt;
                  &lt;span class="glyphicon glyphicon-paperclip"&gt;&lt;/span&gt;
              &lt;/button&gt;
  </code></pre>
  
  <p>I am using the following libraries: jquery, jquery-ui, backbone, backbone-layoutmanager, twitter bootstrap, not the above javascript method copyBuidToClipboard gets fired by when the user clicks on the copy button.</p>
  
  <p>P.S. i get not client side errors </p>