Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confirm Box Question

Status
Not open for further replies.

fpgiv

Programmer
Oct 1, 2003
91
US
Hi,
Is there any way to make a confirm box have different labels on its buttons other than OK or Cancel. I'm using IE on Windows and I would like the options to read "yes" or "no".
Thanks.
 
A javascript confirm box? The answer is no. However, since you've stated that you're using IE, you could code your own confirm box using the showModalDialog method. This option is IE only, however you will have more flexibility by being able to change colors, add links, etc. to your box. A google search for "javascript showModalDialog" should get you started in the right direction.

-kaht

banghead.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top