Answers for "js clear text in input"

0

clear textbox js

function name()
   {  
   document.getElementById('elementid').value = "";
   }
Posted by: Guest on November-30-2020
-1

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