No, you can't change the button text on a confirm box. There is no pre-defined JS function that allows you to specify the button text. The workaround is to make your own dialog.for IE use a showModalDialog and for NN I think there's a specific option for vreating modal window or use a onblur=this.focus()
Diwakar
From: "Velmurugan (Java Team)" <[EMAIL PROTECTED]> Reply-To: "Velmurugan (Java Team)" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Doubts on javscript Date: Mon, 3 Nov 2003 17:13:17 +0530
Dear All,
In confirm window, by default only 'OK' & 'Cancel' is appearing. I want to change that button as 'YES' or 'NO'. Is it possible, if so, send me the code.
Thanks and Regards, Velmurugan P
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
_________________________________________________________________ Nutrition is in! Junk food is out! http://server1.msn.co.in/features/fabmall/ Be a part of the microwave revolution.
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com