Skip to content

hodade/jquery-clear-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-clear-button

Adds a reset button on <input type="text">.

git clone https://github.com/qoozy/jquery-input-clear.git

Click the input area then the clear button will appear to reset the field.

See example.

Screenshot

How to use

HTML

<script src="jquery-clear-button.js"></script>

<input type="text" id="with-clearbtn" value="Click me">

Javascript

<script type="text/javascript">
    /**
     * enabled jQuery Clear Button
     */
    $('#with-clearbtn').jQueryClearButton();
</script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages