I could only find the function confirm()
that gives OK/Cancel buttons. Is there any way to give Yes/No buttons?
Javascript offers 3 modal boxes. prompt
, confirm
and alert
. None of those satisfy your request.
There are a plethora of js modal popup solutions. Here's an example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With