title: tabindex goes in order if something missed in center then it goes to tabindex 1
body: <p>im having tabindex from tabindex="1" through tabindex="20", these are dynamically genreated. somethimes tabindex="16" wont be generated that time, while clicking from "15" it goes to "1", but i want it to go to "17", how can i achieve that?</p>
  
  <pre><code>&lt;script&gt;
          $(document).on("keypress", ".TabOnEnter" , function(e)
            {
              //Only do something when the user presses enter
              if( e.keyCode ==  13 )
              {
                 var nextElement = $('[tabindex="' + (this.tabIndex+1)  + '"]');
                 console.log( this , nextElement );
                 if(nextElement.length )
                   nextElement.focus()
                 else
                   $('[tabindex="1"]').focus();  
              }   
            });
      &lt;/script&gt;
  </code></pre>