View Full Version : how to create a yes/no alert

03-19-2005, 12:49 AM
I want to create an alert popup, that onClick of my submit button, will bring up the alert. (thats easy)

I want the alert to have a question,then a yes and a no option. The no would do nothing, the yes would submit the page.

I have seen it done places, but i can't figure out how to do it.

Thanks guys!

03-19-2005, 01:13 AM
finaly found it. Thank you google.

I still don't know if you can name the 'Ok' and 'Cancel' buttons. If you can. Plz tell me.

03-19-2005, 01:28 AM
Tip: if you are calling a vbs msgbox, that can be put into a try/catch statement, so that other browsers call confirm(), instead.