Vidyalelo
JavaScript · Q73

Invocation And Performance Navigation

Programming · JavaScript · question 73

Q73

What are the parameters of the attachEvent function?

A.
Function
B.
Function, Event
C.
Event, Function
Answer
D.
Event

Answer: Option C

Solution

Answer: Option C
Solution:
The attachEvent function accepts two parameters: the event to attach to, and the function to invoke when the event occurs.