Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
  <ul>
    <li>
        <input id="number1" type="number" /></li>
    <li>
        <input id="number2" type="number" /></li>
    <li>
        <input id="number3" type="number" /></li>
    <li>
        <input id="number4" type="number" /></li>
</ul>
<ul>
    <li>
        <input id="number5" type="text" /></li>
    <li>
        <input id="number6" type="text" /></li>
    <li>
        <input id="number7" type="text" /></li>
</ul>
</body>
</html>
 
input,textarea { 
    -webkit-user-select:text;
}
 
$('input').on('keydown', function(e) {
    if (e.which == 13) {
      var nextInput = $(':input:eq(' + ($(':input').index(this) + 1) + ')');
      $(nextInput).trigger('touchstart'); 
      e.preventDefault();
    }
});
$('input').on('touchstart', function(e) {
  $(this).focus();
});
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
cotepatricepro
0viewers