title: OnFocus event does not trigger in Safari
body: <p>I want to execute a Javascript when user set a focus on the submit button.</p>
  
  <pre><code>&lt;input type="submit" id="submit" value="Submit" onfocus="onFocusSubmit()"&gt;
  </code></pre>
  
  <p>But on Safari browser, the event never gets called. I have tried <code>onMouseOver</code> event, which works perfectly well, and I have tried other browsers like Chrome, which also does not have a problem.</p>
  
  <p>Does anybody know a way around this problem?</p>