Salesqueen Software Solution

Download Free Estimation Now Click Here
Notifications
Clear all

What are the types of popup boxes present in JavaScript?

3 Posts
3 Users
0 Reactions
113 Views
Posts: 150
Topic starter
(@dinesh)
Estimable Member
Joined: 2 years ago

javascript

2 Replies
Posts: 461
(@dinesha-g)
Reputable Member
Joined: 2 years ago

In JavaScript, there are three different sorts of pop-up boxes. the following

Alert – A dialogue box with an OK button and the optionally specified content is displayed by the Window.alert() method.

Confirm: The Window.confirm() method shows a modal popup with an optional message and two buttons: OK and Cancel.

           Prompt – The Window.prompt() method shows a dialogue box with an optional message asking the user to enter some text.

Reply
Posts: 100
 Kavi
(@kavi)
Estimable Member
Joined: 2 years ago

Popup boxes are used in Javascript to present the message or notification to the user. In JavaScript, pop-up boxes can be of three different types: alert, confirm, and prompt.

Reply
Share: