title: Javascript event handler order
body: <p>I have an input field, which has two event handlers bound to it.</p>
  
  <p>Validate &amp; AutoSave</p>
  
  <p>Obviously I want to validate before I save. If validation fails, the "invalid" class is added to the input and autosave will check for that class before it proceeds.  </p>
  
  <p>This works well enough, but is there a way to guarantee Validate runs before Autosave in all cases?</p>