title: JavaScript: How to force a page reload on reset?
body: <p>I have a page with some generated HTML that survives the form's <code>reset</code> button. It is a problem because that HTML is inconsistent with the values in the cached default form.</p>
  
  <p>In principle I guess it could be solved easily if I could force a hard reload from the server when the user presses the <code>reset</code>. However I see that the Chrome browser does not support the onReset event (in fact it is deprecated in HTML5).</p>
  
  <p>But perhaps I could work around the missing onReload event. Can I re-define what happens when the <code>reset</code> button is pressed? In my case the <code>apply</code> and <code>reset</code> buttons are located in general HTML templates which I cannot change. Can I attach a function to the button from JavaScript?</p>