title: Missing ; after for loop initializer
body: <p>I'm trying to write a simple <code>for</code> loop and I keep getting this error:</p>
  
  <blockquote>
    <p>missing ; after for loop initializer.</p>
  </blockquote>
  
  <p>I can't seem to figure out why. <code>cleari</code> is an array of input fields. So, I'm basically trying to take each field in the array, and reset it:</p>
  
  <pre><code>var cleari = document.getElementById(rowNum).getElementsByTagName('input');
  for (cleari) {
      cleari.parentNode.innerHTML = cleari.parentNode.innerHTML;
  }
  </code></pre>