title: JQuery Add a Button in a Table Row
body: <p>I want to add a button who will edit the row in the table. My code is:</p>
  
  <pre><code>$("#tabprincipal tbody").html("");
      $.getJSON("carrega_usuarios.php?vPagina=" + 0+ "&amp;vQtdeLinhas=" + 10,function(data){
      $.each(data.users, function(i,user){
      var newRow =
      "&lt;tr&gt;"
      +"&lt;td&gt;"+user.ID+"&lt;/td&gt;"
      +"&lt;td&gt;"+user.USER+"&lt;/td&gt;"
      +"&lt;td&gt;"+user.GROUP+"&lt;/td&gt;"
      +"&lt;td&gt;"+user.NUMBER+"&lt;/td&gt;"
      +"&lt;td&gt;"+user.STATE+"&lt;/td&gt;"
      +"&lt;td&gt;"+user.BIRTH+"&lt;/td&gt;"
      +"&lt;td&gt; &lt;button id='but1' class='botaoadd'&gt;hello &lt;/button&gt; &lt;/td&gt;"
      +"&lt;/tr&gt;" ;
      $(newRow).appendTo("#tabprincipal tbody");
      });
      });
  </code></pre>
  
  <p>But the button doesn't appear in the table cell.</p>