DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript events
document
.
querySelector
(
'html'
)
.
onclick
=
function
(
)
{
alert
(
'Ouch! Stop poking me!'
)
;
}
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#javascript
#events
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit