Form contents do not get cleared after form submission using jQuery
<p>I have a form that I am working with, and I am trying to clear it after successful submission using something like this:</p>

<pre><code>$(':text, :password, :file, SELECT', '#create_problem').val('');
</code></pre>

<p>The id of my form is create_problem and the elements there are a text box and a check box and a text field.</p>

<p>The code above does nothing to help clear the form.  Is it not right?</p>

<p>Thanks!</p>

<p>To reproduce the problem: you can visit: <a href="http://www.problemio.com" rel="nofollow">http://www.problemio.com</a> and login with the test account:</p>

<pre><code>login: testuser
password: testuser
</code></pre>

<p>and try to add a problem to see that the form does not clear.</p>
