en.javascript.info/2-ui/2-events/01-introduction-browser-events/02-hide-self-onclick/task.md
Ilya Kantor ab9ab64bd5 up
2017-03-21 14:41:49 +03:00

174 B

importance: 5


Hide self

Create a button that hides itself on click.

Like this:
<input type="button" onclick="this.hidden=true" value="Click to hide">