How to clear all inputs, selects and also hidden fields in a form using jQuery?
<p>I would like to clear all inputs,
selects and also all hidden fields in a form.
Using jQuery is an option if best suited.</p>

<p>What is the easiest way to do this... I mean easy to understand and maintain.</p>

<p><strong>[EDIT]</strong></p>

<p>The solution must not mess with check-boxes (the value must remain, but checked state must be cleared), nor the submit button.</p>

<p>What I am trying to do is a clear button, that clears all the options entered by the user explicitly, plus hidden-fields.</p>

<p>Thanks!</p>
