title: jQuery click event requires double click to work
body: <p>I actually got some problems with my script: indeed it needs 2 clicks to work in a click event. The script is this:</p>
  
  <pre><code>  $('td#td_new').live('click', function() {
      $.ajax({
      type: 'GET',
      url: 'add_hobby.php',
      data: { hobby: $('#ricerca_interests').val() }, 
       success: function(msg) {                         
          nuovo_hobby="&lt;tr id='hobby' class='checked' selezionato='si'  hobby_id='"+msg+"' &gt;&lt;td id='hobby' width='179px'&gt;&lt;div id='nome_hobby'&gt;"+$('#ricerca_interests').val()+'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;';
          $(nuovo_hobby).appendTo("#interessilista");
  
           $('tr#new_hobby').hide().remove();
  
  
          },
      error: function() {alert("Error. Try later.");}
  }); 
  
     });
  </code></pre>