Search
 
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
Name
5+9 =