Skip to content

jQuery plugin to autojump after certain number of characters in inputs

License

Notifications You must be signed in to change notification settings

josem/jquery.autojump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery AutoJump

Jump automatically after certain characters in an input or textarea to the next field.

Demo

Demo

Download

Download latest version (0.3.0)

Usage

  1. Include jQuery (1.7+):

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
  2. Include autojump plugin's code:

    <script src="dist/jquery.autojump.min.js"></script>
  3. Set the data attribute autojump to the number of characters you expect in your inputs and textareas.

    <input type="text" name="field1" id="field1" data-autojump="5">
    
  4. Call the plugin:

    $("form").autoJump();

Feedback?

Please, create an issue here.

History

Check releases for detailed changelog.

Credits

I have used the great jquery-boilerplate to create this project.

License

MIT License

About

jQuery plugin to autojump after certain number of characters in inputs

Resources

License

Stars

Watchers

Forks

Packages

No packages published