Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Re: Doubts on javscript

Diwakar Bhandari

2003-11-03


Hi,

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)" <webteam@(protected)>
>Reply-To: "Velmurugan (Java Team)" <webteam@(protected)>
>To: JSP-INTEREST@(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 listserv@(protected)
>JSP-INTEREST".
>For digest: mailto listserv@(protected)
>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 listserv@(protected)".
For digest: mailto listserv@(protected)".

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


©2008 junlu.com - Jax Systems, LLC, U.S.A.