[an error occurred while processing this directive]
|
123 Web Design! JavaScript dialog boxes So, what the heck are JavaScript dialog boxes? Well, they are interesting little "pop-up" boxes that can be used to display a message, ask for confirmation, user input etc. They're very easy to create, not to mention cool! Three types of dialog boxes exist in JavaScript- alert, confirm, and prompt. I'll show you an example of each:
All of the boxes allow you to customize the message simply by entering in a different text inside the function's parentheses. Go ahead, try it now on your web page! |