Tag Archives: JavaScript
JavaScript – clear value of input field
This useful code sets the value on an input field to nothing. <input type=”text” value=”anything” onclick=’this.value = “”;’ />
This useful code sets the value on an input field to nothing. <input type=”text” value=”anything” onclick=’this.value = “”;’ />