Missing ; after for loop intializer?
<p>Im trying to write a simple for loop and i keep getting this error <code>missing ; after for loop initializer</code>.. cant seem to figure out why.. <code>cleari</code> is an array of input fields. So im 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>
