...
Question 8675 – Aptitude
May 9, 2024
Question 8627 – Programming
May 9, 2024
Question 8675 – Aptitude
May 9, 2024
Question 8627 – Programming
May 9, 2024

Question 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
A
prompt()
B
alert()
C
confirm()
D
request()
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!