Hide self
We want to make this open-source project available for people all around the world.
Help to translate the content of this tutorial to your language!
importance: 5
Create a button that hides itself on click.
Like this:
Can use this in the handler to reference “the element itself” here:
<input type="button" onclick="this.hidden=true" value="Click to hide">