This has been asked here before, but several years ago, and there was no cross-platform solution at the time (other than the setTimeout solution, which is really not very handy).
I’d like to do onblur="foo(parm);" and have foo be able to determine which element now has focus.
I’m using regular javascript; no jQuery for this one, please.
Is that possible these days?
You can try something like this:
EDIT: