Which of the following statements are true regarding "window.onload" and "<body onload=""/>"?
Correct Answer: "window.onload" and "<body onload=""/>" are functionally equivalent, but "window.onload" is preferred because it separates the JavaScript code from the HTML markup.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions