button clicked javascript yes or no 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
}