DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript prompt yes/no
var answer = window.confirm("Save data?"); if (answer) { //some code } else { //some code }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#prompt
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit