5 lines
168 B
Markdown
5 lines
168 B
Markdown
Can use `this` in the handler to reference "the element itself" here:
|
|
|
|
```html run height=50
|
|
<input type="button" onclick="this.hidden=true" value="Click to hide">
|
|
```
|