up
This commit is contained in:
parent
4ae129054e
commit
ab9ab64bd5
476 changed files with 3370 additions and 532 deletions
|
@ -0,0 +1,5 @@
|
|||
Can use `this` in the handler to reference "itself" here:
|
||||
|
||||
```html run height=50
|
||||
<input type="button" onclick="this.hidden=true" value="Click to hide">
|
||||
```
|
|
@ -0,0 +1,12 @@
|
|||
importance: 5
|
||||
|
||||
---
|
||||
|
||||
# Hide self
|
||||
|
||||
Create a button that hides itself on click.
|
||||
|
||||
```online
|
||||
Like this:
|
||||
<input type="button" onclick="this.hidden=true" value="Click to hide">
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue