jQuery Input Clear Button Plugin For Bootstrap - Clear Button
File Size: | 38.6 KB |
---|---|
Views Total: | 3104 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

A dead simple jQuery plugin that adds a Windows-like clear / reset button to any text input control using Bootstrap's Glyphicons. The clear button is shown only when the text input is not empty.
See also:
- Clear Input Button For Bootstrap 4
- Simple jQuery Plugin To Clear Input Field On Focus - autoclear
- jQuery Plugin To Create Clear Buttons For Bootstrap Inputs
- jQuery Plugin To Clear Input Field Text On Fly - TextClear
How to use it:
1. Place jQuery library and the jQuery Clear Button plugin at the bottom of your Bootstrap page.
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script> <script src="jquery-clear-button.js"></script>
2. Just call the plugin on the desired input filed and the plugin will take care of the rest.
$('#input').jQueryClearButton();
This awesome jQuery plugin is developed by hodade. For more Advanced Usages, please check the demo page or visit the official website.