jQuery Input Clear Button Plugin For Bootstrap Clear Button - Download jQuery Input Clear Button Plugin For Bootstrap - Clear Button

Download jQuery Input Clear Button Plugin For Bootstrap – Clear Button

Posted on

This time I will share jQuery Plugin and tutorial about jQuery Input Clear Button Plugin For Bootstrap – Clear Button, hope it will help you in programming stack.

jQuery Input Clear Button Plugin For Bootstrap Clear Button - Download jQuery Input Clear Button Plugin For Bootstrap - Clear Button
File Size: 38.6 KB
Views Total: 2516
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.

How to use it:

1. Place jQuery library and the jQuery Clear Button plugin at the bottom of your Bootstrap page.

1 <script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
2 <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.

1 $('#input').jQueryClearButton();

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

source : jqueryscript.net