simulate tabbing - Free Download Simulate Tabbing Through Elements - jQuery EmulateTab

Free Download Simulate Tabbing Through Elements – jQuery EmulateTab

Posted on

This time I will share jQuery Plugin and tutorial about Simulate Tabbing Through Elements – jQuery EmulateTab, hope it will help you in programming stack.

simulate tabbing - Free Download Simulate Tabbing Through Elements - jQuery EmulateTab
File Size: 23.6 KB
Views Total: 70
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

EmulateTab is a tiny and easy jQuery plugin for simulating the browser’s native tabbing logic.

This plugin allows you to navigate through critical elements (typically form fields, text links, actions buttons) programmatically without using the Tab key.

See Also:

How to use it:

1. Insert the minified version of the EmulateTab plugin after jQuery.

1 <script src="/path/to/cdn/jquery.min.js"></script>
2 <script src="/path/to/dist/emulatetab.joelpurra.min.js"></script>

2. Move the focus to the next ‘Tabbable’ element.

1 $.emulateTab();

3. Move the focus to the previous ‘Tabbable’ element.

1 $.emulateTab(-1);

4. Enable the programmatic tabbing logic on a specific element.

1 // move forward
2 $(selector).emulateTab();
3  
4 // move backward
5 $(selector).emulateTab(-1);