Question 8675 – Aptitude
May 9, 2024Question 8627 – Programming
May 9, 2024Question 2317 – KVS DEC-2017
Which of the following methods in JavaScript will display a window having a dialog box with a specific message, along with an OK and a CANCEL button as options?
Correct Answer: C
Question 19 Explanation:
confirm(): Displays a dialog box with a message and an OK and a Cancel button
alert(): Displays an alert box with a message and an OK button
prompt(): Displays a dialog box that prompts the visitor for input
alert(): Displays an alert box with a message and an OK button
prompt(): Displays a dialog box that prompts the visitor for input
prompt()
alert()
confirm()
request()
Subscribe
Login
0 Comments