title: dynamic table jquery
body: <p>Hi I'm trying to have a dynamic table with different number of rows depends on the number of data how to do that can somebody show me ? I tried but my code only add one line I don't know how to make it to add different number of lines I have 2 types of data so in each row there is user name column and user address column.</p>
  
  <pre><code>$(document).ready( function(){
   $("#getdata").click(function () {
       var value1=$("#user_name").val();   
            $("#tr1").append(value1);    
  var value2=$("#user_address").val();  
            $("#tr2").append(value2); 
             value1.append(value2)})})
  </code></pre>
  
  <p>I think what I need to do is figure out how the data number and set a loop in the tr but Iam not sure how to do that </p>
  
  <p>Thank in advance 
  LS</p>