What are the parameters of the attachEvent function?
A
Function
B
Function, Event
C
Event, Function
D
Event
Correct Answer: Event, Function
The addEventListener() method attaches an event handler to an element without overwriting existing event handlers. The attachEvent function accepts two parameters: the event to attach to, and the function to invoke when the event occurs.