Answers for "how to use button click prompt with conditon"

8

js alert yes no

if (confirm('Are you sure you want to donate to Andrew Hyder?')) {
  // true (paypal.me/andrewdhyder)
} else {
  // false
}
Posted by: Guest on August-06-2020

Code answers related to "how to use button click prompt with conditon"

Code answers related to "Javascript"

Browse Popular Code Answers by Language