jQuery Plugin To Show Previously Entered Input Values - Input History
File Size: | 6.51 KB |
---|---|
Views Total: | 5513 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |
An useful jQuery plugin to enhance the input field that shows you the last input values that has been recently entered. Use the up and down key's to scroll through previously typed input values.
How to use it:
1. Load jQuery library and the jQuery input history plugin at the end of the document.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script src="src/inputhistory.js"></script>
2. Enable the history by calling the plugin on your input field.
$(".input").inputhistory();
3. Default options.
$(".input").inputhistory({ // an array of predefined values history: [], // prevent form submit preventSubmit: false });
This awesome jQuery plugin is developed by erming. For more Advanced Usages, please check the demo page or visit the official website.