title: Call a function after form reset
body: <p>Is there a method for me to call a function after click on the reset button in form, and I mean after, so that the form is first reset and then my function called. Normal event bubbling would call my function and only then reset the form. Now I would like to avoid setTimeout in order to do this.  </p>
  
  <p>What I need is to call a function when a form is reset because I use uniform and uniform needs to be updated when values change.</p>
  
  <p>At the moment I do it like this:  </p>
  
  <pre class="lang-js prettyprint-override"><code>//Reset inputs in a form when reset button is hit  
  $("button[type='reset']").live('click', function(){  
      elem = this;  
      //Sadly we need to use setTimeout to execute this after the reset has taken place  
      setTimeout(function(){  
          $.each($(elem).parents('form').find(":input"), function(){  
              $.uniform.update($(this));  
          });  
      }, 50);  
  });  
  </code></pre>
  
  <p>I tried to do al this on <code>$(':input').change()</code> but reseting an element does not seem to trigger the change event.<br>
  Thank you in advance for any help.  </p>