title: Link JQuery Lightbox() function with HTML link elements in Datalist
body: <p>I'm implementing this JQuery Lightbox plugin inside a DataList:</p>
  
  <ul>
  <li><a href="http://leandrovieira.com/projects/jquery/lightbox/" rel="nofollow noreferrer">http://leandrovieira.com/projects/jquery/lightbox/</a></li>
  </ul>
  
  <p>I tested this code to work if the link is outside the DataList:</p>
  
  <pre><code>$('a[@rel*=lightbox]').lightBox();
  </code></pre>
  
  <p>But it does not seem to pick up the links inside the DataList which has "rel=lightbox". </p>
  
  <p>So I went digigng around and try to take some lessons from here:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/4334875/could-not-find-element-inside-datalist-by-id-with-jquery">Could not find element inside Datalist by ID with JQuery</a></li>
  </ul>
  
  <p>Came up with this but does not seem to work:</p>
  
  <pre><code>            $('a.imageActivator').live("click", function() {
                  jQuery.lightBox();
              });
  </code></pre>
  
  <p>What went wrong?</p>