Visual Basic (3539)
66 comments. Current rating: (24 votes). Leave comments and/ or rate it.
The return value is true (OK) or false (CANCEL).
The word CANCEL is misleading. I want to have the buttons say Yes/ No instead.
How can I do it?
However, I found the following which works at least in 32 bit Windows with IE (which often accounts for 95% of your site's users).
This solution uses vbscript's confirm() function.
No, it does not work in FireFox. FireFox will display Confirm/ Cancel.