You could write your own HTML page to look like a dialog, and then use the showModalDialog function to display it... Unfortunately, this would only work in IE, I believe.
<script language="vbscript">
function myYesNo(textPrompt,boxTitle)
dim result
result = msgbox(textPrompt,vbYesNo,boxTitle)
if result = vbYes then
myYesNo = true
else
myYesNo = false
end if
end function
</script>
You can then call it just like you would with any other javascript function.
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.