Using JQuery to Open Lightview Link on Page Load

Using JQuery to Open Lightview Link on Page Load

Having a bit of trouble with this. I'm not a JQuery novice, but can't seem to understand why the Triggerhandler isn't working for this particular PHP site I'm working on. I've used the same type of code in a Drupal site successfully.

$(document).ready(function () {
     $(" #link ").triggerHandler("click");
   });     


<div="link"><a href='images/p_ada1.jpg'  title='American Diabetes Association :: print' class='lightview' rel='gallery[ada]'>
      <img src="images/thumbs/american_diabetes_assoc.gif" alt="American Diabetes Association" width="112" height="74" border="0" />
      <p class="caption">American Diabetes Association</p></a></div>


I can't seem to find a plugin that can help with either. Any thoughts? Thanks in advance.