M
Mark said:Is it possible to have a Yes/No Messagebox with Javascript
Mark said:
This is a FAQ.
4.28 How do I change the confirm box to say yes/no or default to
cancel?
The buttons on a confirm box cannot be changed, nor can you specify a
default button. However, you should be able to change the question so
that "OK" is suitable as the default. e.g. change "We will now buy
ourselves a porsche with your credit card, Do you want to continue with
this transaction OK Cancel" to "We will now buy ourselves a porsche with
your credit card, Would you like to abandon this transaction? OK Cancel"
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.