MCQs>IT & Programming>JavaScript>Consider the following JavaScript alert: You want the user to see the above message upon opening the page. How will you implement this?
JavaScript MCQs
Consider the following JavaScript alert:
<script type="text/JavaScript"> function message() { alert("Welcome to ExpertRating!!!") } </script>
You want the user to see the above message upon opening the page. How will you implement this?
Answer
Correct Answer: <body onload="message()">
Explanation:
Note: This Question is unanswered, help us to find answer for this one