You cannot do this with the system-provided confirm box using JavaScript. There's a small chance that it may be possible in VBScript (but that would limit it to working in IE only, if it is possible at all), so if you want to rename the buttons, your best bet is to write a custom DHTML version, or try for some sort of modal dialog (which will not be fully cross-browser).
Basically, you're better off rewording your text to take into account the buttons say "OK" and "Cancel".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.