...

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



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



thanks:thumbsup:

nolachrymose
12-20-2003, 07: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! :)

swmr
12-20-2003, 07: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