how to handle cancel of window alert in javascript code example
Example: js alert yes no
if (confirm('Are you sure you want to donate to Andrew Hyder?')) {
// true (paypal.me/andrewdhyder)
} else {
// false
}
if (confirm('Are you sure you want to donate to Andrew Hyder?')) {
// true (paypal.me/andrewdhyder)
} else {
// false
}