Study the code given below: <HTML> <HEAD> <SCRIPT LANGUAGE = "JavaScript">…
NVS Computer Science / IT Teacher Recruitment · Computer Science · 2017
Study the code given below: <HTML> <HEAD> <SCRIPT LANGUAGE = "JavaScript"> function start () { alert ("Event Occured") } </SCRIPT></HEAD> </BODY onLoad = "Start()"> <h1> Guess the event </H1> </BODY></HTML> How many times will the function Start () be called ?
- A.
Once every time the system starts.
- B.
Once every time the web page is refreshed.
- C.
Only once when the window is opened.
- D.
Will not be called as the event handler is wrong.
Attempted by 467 students.
Sign up free to check your answer
Sign up freeLoading lesson…