What are Dialog Boxes in Java?



Dialog Boxes are small windows on the screen. These boxes are used to display some messages on the screen.
There are three types of dialog boxes in JavaScript.
1.       Alert – It will display an alert dialog box that presents a message to the user and also there is a button on the dialog box and that button is OK button.
2.      Confirm – It will display a message on the dialog box but with two button one is OK and other is Cancel.
3.      Prompt – This dialog box is used to take an input from the user. It has a message with one align.

Comments

Popular posts from this blog

Write a program to add two number using inline function in C++?

Traversing of elements program with algorithm and Flowchart