I have a function that clears all the elements inside a span id. clearForm() works but resetForm() does not.
`<script type="text/JavaScript">`
` $(function hideMe() { `
` for(i=0;i<arguments.length;i++) {`
` $("#"+arguments[i]).clearForm().fadeOut();`
` }`
` });`
`</script>`
`<html>`
`...<td><input type="radio" name="third_party" id="third_partyNo" value="No" onClick="hideMe('party_integ');" />No</td>`
'...'
`<span id="party_integ" style="display:none">`
`<table>`
` <tr>`
` <td width="25%">System Type:</td>`
` <td width="22%"><select name="system_type" id="system_type" class="style3" onChange="popCat(this.value);">`
` <option value="" selected="selected">Select one</option>`
` <option value="first">first</option>`
` <option value="second">second</option>`
` <option value="third">third</option>`
` </select></td>`
` </tr>`
`</table>`
`</span>`