📜 ⬆️ ⬇️

Atomic plugin - assistant when filling out forms

Good day.

I wrote a small plugin, which I present to you.

The task : in the fields of the input to write the text that there should be and which disappears by a mouse click.
Ie in the input it says “enter email” when you click on it, you need the text to disappear, and if there is no text again - to show the value that was.
')
This functionality is useful especially in registration forms, where it is convenient to show an example of the format of the input data in forms.

Also : when you click, the text disappears smoothly, as if going into the background color.

What came of it - see here (demonstration).

Download here

Source: https://habr.com/ru/post/86441/


All Articles