This commit is contained in:
Ilya Kantor 2017-03-21 14:41:49 +03:00
parent 4ae129054e
commit ab9ab64bd5
476 changed files with 3370 additions and 532 deletions

View file

@ -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">
```

View file

@ -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">
```