|
CodingForums
Having trouble with scripting? Visit our help forum to get the answers you need.
This is a 
|
 |
Creating interactive alert, confirm, and prompt boxes using JavaScript
You've undoubtedly seen them, used them, and gotten annoyed
by them while surfing the net. Now its time to learn how to create them-
interactive dialog boxes, that is. With JavaScript, you can pump into your
pages some life by using JavaScript controlled boxes. For example, you can
have a box pop up asking surfers to type in his/her name and then display it
accordingly. You can also have a confirmation box that gives users a choice
whether or not to proceed with a specified action, such as enter a
restricted site. These are among the endless possibilities that are out
there; fortunately, there are only three methods (commands) you'll need to
learn to be able to achieve all of them.
|