how to get yes or no alert in javascript 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
}