@WoDJul 13.2005 — #I don't think this is actually possible. You could, however, try to "mock up" a Javascript confirm using DHTML, floating layers and all that jazz.
@buntineJul 13.2005 — #VBScript offers that functionality. Note, it will only work in IE. ? <i> </i><script language="VBScript"> Dim intAnswer intAnswer = MsgBox("do you want only YES and NO?", vbYesNoCancel)
If intAnswer = 6 Then ' Yes. ElseIf intanswer = 7 Then ' No Else ' Cancel End If </script>
@felgallMay 20.2008 — #See http://javascript.about.com/library/blmodald1.htm for how to create modal windows with JavaScript. The example is a simple alert but you can create whatever dialog box you want by using the appropriate HTML since the JavaScript makes the dialog part of the page rather than using one of the three that the browsers supply.