title: How to determine if a field has focus?
body: <p>Very similar to <a href="https://stackoverflow.com/questions/497094/how-do-i-find-out-which-javascript-element-has-focus">How do I find out which DOM element has the focus?</a> except that I'm not trying find the field that has focus, I just need to know if a particular one already has focus. Is that possible? </p>