title: iOS dismiss keyboard programmatically (website, not app)?
body: <p>Currently using this function to dismiss the keyboard on iOS.</p>
  
  <p>The issue is that this doesn't work properly with UI dialogs with forms, and wondering if there's a better approach. </p>
  
  <pre><code>var hideKeyboard = function () {
          if ( document.activeElement !== null ) {
              document.activeElement.blur();
              jQ('input').blur();
          }
      };
  </code></pre>