title: Add jQuery colorbox plugin to a dynamically created element
body: <p>The usual way to assign color box functionality on a link is like this:</p>
  
  <pre><code>$("a.colorbox").colorbox({ transition: "elastic" });</code></pre>
  
  <p>Newly added items are not bound in this way though.</p>
  
  <p><strong>How can I add colorbox to dynamically created <pre><code>&lt;a class="colorbox"&gt;&lt;/a&gt;</code></pre>elements too?</strong></p>