DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript onclick button
var
button
=
document
.
querySelector
(
'button'
)
;
button
.
onclick
=
function
(
)
{
//do stuff
}
PREVIOUS
NEXT
Tagged:
#javascript
#onclick
#button
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit