DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
alert confirm prompt javascript
if (confirm("Press a button!")) { console.log("Accepted") } else { console.log("Declined") }
PREVIOUS
NEXT
Tagged:
#alert
#confirm
#prompt
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+1 =
Submit