clear values of all (including nested) form fields within a certain tbody using jquery
<p>I have the following structure inside of a table, which has rows and also other tables nested within #tbody_name.</p>

<pre><code>&lt;tbody id="tbody_name"&gt;
    &lt;tr&gt;
        &lt;td&gt;
             &lt;select&gt;
                &lt;option value="" selected="selected"&gt;---------&lt;/option&gt;
                &lt;option value="3"&gt;Something&lt;/option&gt;
                &lt;option value="2"&gt;Something else&lt;/option&gt;
             &lt;/select&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
          &lt;input type="radio" value="0" /&gt; Normal&lt;br&gt;
          &lt;input type="radio" value="1" /&gt; Abnormal&lt;br&gt;
        &lt;/td&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;table&gt;
                &lt;tr&gt;
                    &lt;td&gt;
                       &lt;input type="text /&gt;
                    &lt;/td&gt;
                    &lt;td&gt;
                       &lt;input type="checkbox" /&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
            &lt;/table&gt;
       &lt;/td&gt;
   &lt;/tr&gt;          
&lt;/tbody&gt;
</code></pre>

<p>What I am trying to do is write a function that is able to clear the values of all of the form fields within #tbody_name.</p>

<p>I have attempted using .children and .each, but I just cannot seem to boil it all the way down to the form fields within #tbody_name.</p>

<p>Any help would be greatly appreciated.</p>

<p>Thank you,</p>

<p>JD</p>
