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

156 B

Can use this in the handler to reference "itself" here:

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