title: Create table by clicking buttons
body: <p>Here's what I want to do. Hopefully it's not too hard. </p>
  
  <p>I need to create a table with a div inside each td which is created by clicking buttons... for example</p>
  
  <hr>
  
  <p>Please select the number of rows in the table</p>
  
  <p><img src="https://i.stack.imgur.com/I2Bsm.png" alt="enter image description here"></p>
  
  <p>Please select the number of columns in the table..</p>
  
  <p><img src="https://i.stack.imgur.com/I2Bsm.png" alt="enter image description here"></p>
  
  <p>Result:</p>
  
  <hr>
  
  <p>So if you clicked on 4 and 4 it would create a table 4 X 4. If you clicked 3 X 1, you would create a table 3 X 1, etc...</p>
  
  <p>Any help would be greatly appreciated!!</p>
  
  <p>Here's a jfiddle of something I'm trying to get working. I'm still looking over all your comments! </p>
  
  <p><a href="http://jsfiddle.net/irocmon/7WD8v/" rel="nofollow noreferrer">http://jsfiddle.net/irocmon/7WD8v/</a></p>
  
  <p>I know I need to add in the Javascript how to get the element by id. <code></code></p>