title: how to add the input values in an array
body: <p>i just like to ask regarding adding data in a array. But the data which i wanted to put is from a table of input boxes.. Here's the code that i've been practicing to get data:</p>
  
  <blockquote>
    <p><a href="http://jsfiddle.net/yajeig/4Nr9m/69/" rel="nofollow">http://jsfiddle.net/yajeig/4Nr9m/69/</a></p>
  </blockquote>
  
  <p>I have an add button that everytime I click that button, it will store data in <code>my_data</code> variable.</p>
  
  <p>i want to produce an output in my variable something like this:</p>
  
  <pre><code>my_data  = [ {plank:"1",thickness:"4",width:"6",length:"8",qty:"1",brdFt:"16"}] 
  </code></pre>
  
  <p>and if i would add another data again, it will add in that variable and it be something like this:</p>
  
  <pre><code>my_data  = [ {plank:"1",thickness:"4",width:"6",length:"8",qty:"1",brdFt:"16"},
       {plank:"2",thickness:"5",width:"6",length:"2",qty:"1",brdFt:"50"}] 
  </code></pre>
  
  <p>the code that i have right now is really bad, so please help.</p>
  
  <p><b>Currently my output:</b>
  <code>1,4,6,4,1</code></p>