title: focus() method scrolls top only in internet explorer
body: <p>In every browser <code>focus()</code> method on <code>input</code> scrolls to top of the page. I hack it with custom method like this:</p>
  
  <pre><code>$.fn.focusNo = function () {
      var x = (window.pageXOffset !== undefined) ? window.pageXOffset : (document.documentElement || document.body).scrollLeft,
          y = (window.pageYOffset !== undefined) ? window.pageYOffset : (document.documentElement || document.body).scrollTop;
  
      this.focus();
      window.scrollTo(x, y);
  };
  </code></pre>
  
  <p>but in Interner Explorer (9, 10) this solution doesn't work..</p>
  
  <p><strong>How do you solve this problem?</strong></p>