title: How to check if user is focusing from a particular element to another element with Javascript?
body: <p>How can I check if a user is focusing out of a particular element to another particular element? Something like this:</p>
  
  <pre><code>// If focusing out of inputA to inputB
  if ($("#inputA").focusingTo("#inputB")) {
    // do something
  }
  </code></pre>