Question: Write code in JavaScript by following the instructions given below: A confirmation dialog box should be appeared right after the page load on the browser.
Write code in JavaScript by following the instructions given below:
- A confirmation dialog box should be appeared right after the page load on the browser.
- When user press ok button from confirmation dialog box, a prompt dialog box will be shown with question What is your institution name?
- If user gives the answer BIIT, an alert dialog box will be displayed in response with message Right!
- In case of any other answer, alert dialog box will be displayed in response with message Wrong!


This page says This page says What is your institution name? BIIT Want to see the question to give answer? OK Cancel OK Cancel This page says Right! OK
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
