Set Focus On Multiple Input Fields At The Same Time - jQuery MultiFocus

File Size: 2.91 KB
Views Total: 3969
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Set Focus On Multiple Input Fields At The Same Time - jQuery MultiFocus

MultiFocus is a really simple and sometimes useful jQuery plugin which allows focusing on multiple input fields so that the users are able to fill several entries at the same time.

How to use it:

1. Put jQuery library (slim build is recommended) and the JavaScript file multifocus.js at the bottom of your html page.

<script src="//code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="multifocus.js"></script>

2. Call the plugin on the target input fields which will get focused at the some time when starting typing.

$.multiFocus(".yourInput").init();

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