Ask Question

You have created a new Web site for your company, and you want to add a script so that a "welcome" pop-up box appears to the user as soon as he or she launches the site. Which jа vascript method should you use to display the message?

+2
Answers (1)
  1. 11 August, 18:40
    0
    The correct answer to the following question is The alert () method.

    Explanation:

    The alert () function is the function of the jа vascript which is applied on the web page to alert the users for something important who is surfing on that web page.

    If the jа vascript alert box is on the button in the HTML page then, when the user clicks on that button the alert box will pop-up on the screen with the alert message which you written inside the alert () parentheses.

    Syntax:

    alert ("Hello sir");
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “You have created a new Web site for your company, and you want to add a script so that a "welcome" pop-up box appears to the user as soon ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers