title: Detect which form input has focus using JavaScript or jQuery
body: <p>How do you detect which form input has focus using JavaScript or jQuery?</p>
  
  <p>From within a function I want to be able to determine which form input has focus.  I'd like to be able to do this in straight JavaScript and/or jQuery.</p>