Javascript form reset
<p>I use this code to reset my radio buttons, but it doesn't reset my text fields. How can I make it reset my text fields?</p>

<pre><code>function rensa(obj)
{
    for(var i=0; i&lt;obj.length; i++)    
         obj[i].checked = false;

}
</code></pre>
