jQuery Plugin For Auto Tabbing On Text Fields - Auto Jump

File Size: 37.8 KB
Views Total: 1413
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin For Auto Tabbing On Text Fields - Auto Jump

Auto Jump is a lightweight jQuery plugin to provide auto tabbing functionality on your text fields so that the cursor will auto jump to the next input when the text field reaches a max length.

See also:

Basic Usage:

1. Load the jQuery auto jump plugin's script after loading jQuery library.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="src/jquery.autojump.js"></script>

2. Add the data-autojump attribute to specify the max length of your text fields (input or textfield).

<input type="text" data-autojump="5">

<textarea value="" data-autojump="150"></textarea>

3. Call the function on the text fields and the plugin will take care of the rest.

$("input,textarea").autoJump();

Change log:

2016-05-01

  • bugfix

2015-10-23

  • Fixed a bug when selecting next field, added select

This awesome jQuery plugin is developed by josem. For more Advanced Usages, please check the demo page or visit the official website.