Answers for "how to add a clear button to clear all input field in javascript"

-2

input clear event javascript

<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 "how to add a clear button to clear all input field in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language