title: jQuery .click(function() not working in IE7
body: <p>Ok, I've looked through all the questions regarding this and I've tried several of the suggestions to no avail, so I'm hoping someone can shed more light on my problem.</p>
  
  <p>OUTLINE OF THE ISSUE:</p>
  
  <p>I'm running two Nivo sliders in a tabbed box. The code I have works in all the normal browsers, but some reason IE7 doesn't like the code I have and won't register the .click(function(e) when the tab is selected.</p>
  
  <p>HERE IS THE CODE:</p>
  
  <p>Part 1 - this loads the slider gallery on page load on the first tab:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(window).load(function() {
      $('#slider').nivoSlider();
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Part 2 - this is one IE7 has an issue with. This is for the other tabs so the gallery won't load until the tab is clicked. For some reason IE7 doesn't like this:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
      $('#gallery3-link').click(function(e){ 
          $('#gallery1').nivoSlider();
           return false; 
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>THIS IS WHAT I'VE TRIED SO FAR:</p>
  
  <p>I've tried using the $("#ClickMe").live('click', function() which didn't work as well as the  $("body").delegate("p", "click", function() which were the two main solutions I saw people using to get this to work in IE7. When I was debugging I also set an alert to make sure IE was registering the click function:</p>
  
  <pre><code>    $('#target').click(function() {
    alert('Handler for .click() called.');
  });
  </code></pre>
  
  <p>This had no effect. When you clicked on the tab, it didn't alert which confirmed the click function wasn't working. I've spent quite a while digging around for a solution to this and am plum out of resources. I thought it might something with the code, or some other work around - most of the sites I referenced were from circa 2006 or 2007. Not that JS has changed that much, but I was hoping maybe someone found a simplier solution in the last 4 years.</p>
  
  <p>any help would greatly be appreciated.</p>
  
  <p>D</p>