title: HTML : draw table using innerHTML
body: <pre><code>document.getElementById("outputDiv").innerHTML = "";
  document.getElementById("outputDiv").innerHTML += "&lt;table border=1 width=100%&gt;&lt;tr&gt;";
  for(j=1;j&lt;=10;j++)
  {
      document.getElementById("outputDiv").innerHTML += "&lt;td align=center&gt;"+String.fromCharCode(j+64)+"&lt;/td&gt;";
  }
  document.getElementById("outputDiv").innerHTML += "&lt;/tr&gt;&lt;/table&gt;";
  </code></pre>
  
  <p>I want to draw a table using Javascript.
  So I wrote the code like above.
  I think it draw one row that has 10 columns, but it doesn't work.
  Anyone know about this problem???</p>