I have text input, and I want to hide the text inside, on this event (I will disable input when it is not needed). I would like to display hidden text when this event is canceled.
I know that I can store the value and retrieve as needed. I would like to avoid moving data, since this is a purely cosmetic operation.
Is it possible to hide introductory text or manage input data in the only way? I would like the simplest solution. ??
I can use pure JS and jQuery.
source share