Clear Button For Almost Every Text Input Field

Adds clear button for almost every <input type="text">, like ms-clear.

Autore
granony
Installazioni giornaliere
0
Installazioni totali
256
Valutazione
0 0 0
Versione
1.0.0
Creato il
02/01/2016
Aggiornato il
02/01/2016
Licenza
MIT
Applica a
Tutti i siti

This script adds clear button for almost evey text-field in web site without breaking its layout, like ms-clear.
The clear button is displayed on the right side (or left side if text-align=="right") of the inside of the field when the mouse cursor is over the field.
The clear button does not work if the web site puts some elements (such as submit button) on the clear button's place (e.g. search form in Twitter).