title: Issue with jQuery & Colorbox. Dynamic href not reflecting change after first occurence
body: <p>I am having a strange issue with jQuery (1.4.2) and Colorbox (1.3.6). I have an hyperlink inside an Obout grid created via a GridTemplate. The issue is with a dynamic href that I am executing with JQuery as follows: </p>
  
  <p>The grid hyperlink passes the Primary Key of a record to this function where I change the href of a link than opens an iframe inside a ColorBox lightbox. This works well on the first record pressed. However, every subsequent click executes the hyperlink with the first parameter passed.
  Why is the href not refreshing or changing to the new parameter passed? Is there a better way to accomplish this? </p>
  
  <pre><code>        function PopupLink(vReqItrID) {
           var lnkPopup = $("a[id=lnkPopup]");
           lnkPopup.attr("href", "VendorInfo.aspx?ReqItr=" + vReqItrID.toString());
           lnkPopup.trigger("click");
  
      }
  
   &lt;script type="text/javascript"&gt;
       $(document).ready(function() {
           // Assign the ColorBox - Popup iframe event to element
          $("#lnkPopup").colorbox({ width: "90%", height: "85%", iframe: true, overlayClose: false }); 
       });
  &lt;/script&gt;&lt;a id="lnkPopup" href="#" style="visibility: hidden;"&gt;&lt;/a&gt;  
  
      &lt;obout:gridtemplate runat="server" id="tplOpenRequest"&gt;                    
          &lt;Template&gt;   
               &lt;a id="lnkReqItr" href="javascript:PopupLink('&lt;%# Container.DataItem("ReqItrID") %&gt;')"&gt;Open Request&lt;/a&gt;                 
           &lt;/Template&gt;            
      &lt;/obout:gridtemplate&gt;
  </code></pre>
  
  <p>Any Help is greatly appreciated. 
  Thanks, 
  Diego. </p>