2. November 2009 19:19
With JavaScript you can create pop-up message boxes, much like you would see in a Windows program. You may want your program to need a confirmation from the user before it executes. Or you just might want to let the user know that an event has occurred.
You might need to get some information from the user. All of these things can be done with JavaScript Message Boxes. Try the example buttons below, they don't do anything but show the popup boxes.
As I’ve mentioned before there is the alert prompt. It gives the user a message, and features an “Ok” button for you to confirm that you got the message.
Then there is the Confirmation box. This box is used to give the user an option between confirming the request and executing the code or cancelling the request.
Then there are cases where you need the user to input information. One way to do this is with a Prompt box.
25e24290-2c78-4577-b8b4-f857b3ef2f45|2|3.5