View Full Version : Need some help to modify the ok and cancel btn on the confirm msgbox
pankajkitty
07-18-2002, 11:37 PM
Is there any way we can change the OK and cancel words on the Confirm msgbox to "Yes" and "No"
sciguyryan
08-16-2003, 11:32 AM
hi,
i'm afraid what your looking for is not javascript it's infact VBScript (visual Bascic Script) try this site:
http://www.wsabstract.com/javatutors/vbalert.shtml.
but, be aware that at this time only MSIE supports VBScript although netscape is not far behinde!
brothercake
08-16-2003, 02:46 PM
Originally posted by sciguyryan
be aware that at this time only MSIE supports VBScript although netscape is not far behind!
That's not a particuarly accurate way of describing it - you're saying that netscape's lack of support for VB makes it "behind" explorer; VBScript is Windows technology, and only win/ie will ever support it. It's possible that IE7 won't.
sciguyryan
08-16-2003, 03:02 PM
hi,
i didnt mean it in the sense that netscape is behinde infact, that would be a faulfity as netscape is ahead in many languages....
Skyzyx
08-16-2003, 06:51 PM
Originally posted by sciguyryan
I'm afraid that what you're looking for is not javascript. Infact it's VBScript (Visual Basic Scripting Edition).
It's also available in JScript... which is another Microsoft-only technology that has all the functionality of VBScript, but in JavaScript syntax.
As far as the Netscape+VBScript thing, (A) There will be no more "Netscape"-branded browsers as AOL killed them off; (B) "Gecko" browsers (as a more accurate term) have no intention of supporting VBScript, however there is a plug-in for Mozilla Application Suite and Mozilla Firebird that supports ActiveX (http://www.skyzyx.com/scripts/geckoax.htm) to a limited degree.
Anyways, the correct address for that tutorial is http://www.javascriptkit.com/javatutors/vbalert.shtml
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.