title: Clear form fields with jQuery
body: <p>I want to clear all input and textarea fields in a form. It works like the following when using an input button with the <code>reset</code> class:</p>
  
  <pre><code>$(".reset").bind("click", function() {
    $("input[type=text], textarea").val("");
  });
  </code></pre>
  
  <p>This will clear all fields on the page, not just the ones from the form. How would my selector look like for just the form the actual reset button lives in?</p>