Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript confirm yes no

var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
  //proceed
} else {
  //don't proceed
}
 
PREVIOUS NEXT
Tagged: #javascript #confirm
ADD COMMENT
Topic
Name
1+1 =