0
In html how to clear typed texts in textarea one by one by clicking the button instead of clearing all typed text at a instant.
HTML CLEARING TEXT ONE BY ONE ON TEXTAREA.(NO RESET).This for editing required text in a textarea.IS IT POSSIBLE?
1 Respuesta
0
it is possible, but not the prettiest code ever.
use setTimeout for a delay. inside take the value of your text area, remove the last character from it, then put it back.
create a condition so setTimeout stop after the value is empty