jQuery-FCS is a jQuery plug-in to move the focus of form elements using the enter key like many native Windows applications.
The main objective of the plugin is to set focus on the text input field by pressing the Enter key. It also supports any type of form control such as text area, button, selection, and more.
How to move the focus
- Enter to move to the next form element.
- Shift + Enter to move to the previous form element.
- In the <textarea /> where the entry is made, press ctrl + enter to move to the next form element.
How to make use of it:
1. Include the minified model of the jQuery FCS plugin on the web page.
<script src="/path/to/cdn/jquery.slim.min.js"></script> <script src="/path/to/dist/jquery.fcs.min.js"></script>
2. Call the function fcs
on input fields.
<input type="text" class="fcs"> <input type="text" class="fcs"> <input type="text" class="other" value="This Input Is Ignored"> <input type="text" class="fcs"> <textarea class="fcs"></textarea> <select name="cars" id="cars" class="fcs"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select> <input type="text" class="fcs"> <input type="text" class="fcs"> <button type="button" class="fcs">Button</button> <button type="submit">Submit</button>
See Demo And Download
Official Website(feijoa-pine): Click Here
This superior jQuery/javascript plugin is developed by feijoa-pine. For extra Advanced Usage, please go to the official website.