Answers for "how to clear textinput"

1

clear textbox

txt.clear();
Posted by: Guest on March-30-2021
-2

js clear text in input

<input type="text" value="A new value" onfocus="if(this.value=='A new value') this.value='';">
Posted by: Guest on December-23-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language