Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

empty input field on click

<button onclick=
            "document.getElementById(
             'inputField').value = '' ">
      Click To Clear
  </button>
 
PREVIOUS NEXT
Tagged: #empty #input #field #click
ADD COMMENT
Topic
Name
9+9 =