Accessible Clear Button For Text Fields - jQuery vamoose

File Size: 13.4 KB
Views Total: 2697
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Accessible Clear Button For Text Fields - jQuery vamoose

The vamoose jQuery plugin adds a custom accessible Clear Button to text fields that allow your users to clear the fields with just one click. Supports both input field and textarea.

Alternative plugins:

How to use it:

1. The plugin uses Font Awesome for the clear icon.

<link rel="stylesheet" href="">

2. Import jQuery library (slim build) and the jQuery vamoose plugin into the document.

<script src="" 
<script src="jquery.vamoose.js"></script>

3. Call the function on your text fields. Done.

<input type="text" aria-label="field-1">

<input type="text" aria-label="field-2">

<textarea aria-label="textarea"></textarea>
$('input, textarea').vamoose();


v0.3.1 (2018-06-08)

  • Trigger 'input' on clear



  • Added iOS touch support

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