MCQs > IT & Programming > JavaScript > Consider the following JavaScript alert: Which will run the function when a user opens the page?

JavaScript MCQs

Consider the following JavaScript alert: <script type="text/JavaScript"> function message() { alert("Welcome to ExpertRating!!!") } </script> Which of the following will run the function when a user opens the page?

Answer

Correct Answer: body onload="message()"

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it