title: Copy span text using Clipboard.js
body: <p>I'm using clipboard.js and need to copy the text in a span by clicking a button. Is there a way to do this?</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;span id="spanId"&gt;text here&lt;/span&gt;
  &lt;input type="button" class="buttonClass" value="Copy" data-clipboard-target="#spanId" /&gt;
  </code></pre>