title: CSV to html table - client side
body: <p>I have a table that I want to append variable data to.  I currently have the data in CSV format, and call the csv to HTML using PHP.  The PHP call <code>$line_of_text[10]</code> allows me to access whatever data I want.  However I need to do it client side not server side.</p>
  
  <p>I have been looking into Javascript arrays, and these may or may not be the best idea.  If there is code to parse the data, I would also need the actual code to call it from the HTML page, and put it into the table.</p>
  
  <p>My table is like this:   ( see JS Fiddle:  <a href="http://jsfiddle.net/72jQR/2/" rel="nofollow noreferrer">http://jsfiddle.net/72jQR/2/</a>)</p>
  
  <pre><code>&lt;table cellspacing="0" cellpadding="5"  border="1"&gt;    
  &lt;tr&gt;
  &lt;td&gt;Code&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Description&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Size&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And After the information from the csv or array or whatever - it looks like this:</p>
  
  <pre><code>&lt;table cellspacing="0" cellpadding="5"  border="1"&gt;
  &lt;tr&gt;
  &lt;td&gt;Code&lt;/td&gt;
  &lt;td&gt;From DATA 12345&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Description&lt;/td&gt;
  &lt;td&gt;From DATA&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;Size&lt;/td&gt;
  &lt;td&gt;500&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>What is the best way to do this client side?</p>