Clear Button For Almost Every Text Input Field

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

Автор
granony
Инсталации дневно
0
Инсталации общо
256
Рейтинг
0 0 0
Версия
1.0.0
Създаден
02.01.2016
Обновен
02.01.2016
Лиценз
MIT
Работи на
Всички сайтове

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).