DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+1 =
Submit