title: How to determine where focus went?
body: <p>This has been asked <a href="https://stackoverflow.com/questions/121499/when-onblur-occurs-how-can-i-find-out-which-element-focus-went-to">here</a> before, but several years ago, and there was no cross-platform solution at the time (other than the <code>setTimeout</code> solution, which is really not very handy).</p>
  
  <p>I'd like to do <code>onblur="foo(parm);"</code> and have <code>foo</code> be able to determine which element now has focus.</p>
  
  <p>I'm using regular javascript; no jQuery for this one, please.</p>
  
  <p>Is that possible these days?</p>