javascript confirm yes or no code example
Example: javascript confirm yes no
var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
//proceed
} else {
//don't proceed
}
var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
//proceed
} else {
//don't proceed
}