DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript onclick
document.getElementById("myBtn").addEventListener("click", function() { alert("Hello World!"); });
PREVIOUS
NEXT
Tagged:
#javascript
#onclick
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit