title: jquery live click event not working in IE8
body: <p>I'm using the following code, and it works fine in all browsers I've seen, IE9 is fine but then I come to IE8 and it doesn't work at all.. just for reference the <code>#cal_popup_table</code> element is dynamically added to the page..</p>
  
  <pre><code>        $("#cal_popup_table tbody tr td a").live('click', function() {
              $('.datepick-cmd-today').text(from_month + ' ' + from_year);
  
              var test = from_yeartest + '-' + from_monthtest + '-' + from_daytest;
              var test_new = test.split("-");
              var today = test_new[0] + '-' + test_new[1] + '-' + test_new[2];
  
              $("#arrival").val(today);
          });
  </code></pre>
  
  <p>Could anyone shed some light on why it might not be working properly, the code inside the function doesn't matter as a simple <code>alert()</code> doesn't work either.. the click event just never fires at all</p>
  
  <p>UPDATE - this is the code (trimmed out some content etc) that is inserted into the page</p>
  
  <pre><code>&lt;div id="cal_popup" class="datepick-popup" style="position: absolute; left: 901px; top: 219px; "&gt;
  &lt;div class="datepick" style="width: 195px; "&gt;
      &lt;div class="datepick-nav"&gt;
          &lt;a href="javascript:void(0)" title="Show the previous month" class="datepick-cmd datepick-cmd-prev  datepick-disabled"&gt;&amp;lt;&lt;/a&gt;
          &lt;a href="javascript:void(0)" title="Show today's month" class="datepick-cmd datepick-cmd-today "&gt;December 2012&lt;/a&gt;
          &lt;a href="javascript:void(0)" title="Show the next month" class="datepick-cmd datepick-cmd-next "&gt;&amp;gt;&lt;/a&gt;
      &lt;/div&gt;
  
      &lt;div class="datepick-month-row"&gt;
          &lt;div class="datepick-month"&gt;
              &lt;table id="cal_popup_table"&gt;
                  &lt;tbody&gt;
                      &lt;tr&gt;
                          &lt;td&gt;
                              &lt;a href="javascript:void(0)" class="datepicker_link dp1354708800000   datepick-today datepick-highlight" title="Select Wednesday, Dec 5, 2012"&gt;5&lt;/a&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/tbody&gt;
              &lt;/table&gt;
          &lt;/div&gt;
      &lt;/div&gt;  
  &lt;/div&gt;
  </code></pre>
  
  <p></p>