title: jquery click event not working on first click,
body: <pre><code>$("#table").click(function(e) {
                  var row = jQuery(e.target || e.srcElement).parent();
                  $('#table tr').bind('click', show);
                  name= row.attr("id");
              });
  </code></pre>
  
  <p>I am not getting the id value very first time i click on the row?
  second time I am getting fine?
  can anyone tell me why its happening like this?</p>