empty input field on click

Solutions on MaxInterview for empty input field on click by the best coders in the world

showing results for - "empty input field on click"
Marie
04 Feb 2017
1<button onclick=
2            "document.getElementById(
3             'inputField').value = '' ">
4      Click To Clear
5  </button>