<script type="text/javascript" charset="utf-8">
function resetForm(form) {
$(form).find('input:text, input:password, input:file, select, textarea').val('');
$(form).find('input:radio, input:checkbox').removeAttr('checked').removeAttr('selected');
}
</script>