title: Why when I press GO in iPad, does not focus next input?
body: <p>Imagine that I have many div in <code>display: none;</code> and just the first one is in <code>visible</code>.</p>
  
  <p>In the view, you can navigate through each one pressing a ENTER or GO (in an iPad). So when you want to advance, change the current div to <code>none</code>, and the next one change it to <code>visible</code>. But right now I wanna also set the focus in an input element where has a <code>focusable</code> class. But it does not set the focus.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>var setFocus = function () {
      $("#question-container2").find("#question:visible").find('.focusable')[0].focus();
      $("#question-container2").find("#question:visible").find('.focusable')[0].setSelectionRange(0, 0);
  };
  
  var nextPage = function () {
      if ($currentPage &lt; $totalPages) {
          $currentPage++;
          $("#question-container2").find("#question:visible").hide().next().show();
      }
  };
  
  $(".input-area").keypress(function (e) {
      if (e.keyCode == 13) {
          // Do something
          nextPage();
          setFocus();
          return false;
      }
  });
  </code></pre>