View Full Version : can u tell me about the yes no popup

12-20-2003, 06:11 PM
can anyone tell me how to get the yes cancel popup please


12-20-2003, 06:15 PM
The confirm() method. Here's an example:

if(confirm("May we eat?")) {
alert("You may eat");
} else {
alert("You may not eat");

It returns true if the user clicked "OK," and false is the user clicked "Cancel."

Hope that helps!

Happy coding! :)

12-20-2003, 06:26 PM
vbscript: MsgBox Function (http://msdn.microsoft.com/library/en-us/script56/html/vsfctmsgbox.asp) | wScript: Popup Method (http://msdn.microsoft.com/library/en-us/script56/html/wsmthpopup.asp)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum