Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What are the parameters of the attachEvent function?

  2. A.

     Function

    B.

     Function, Event

    C.

     Event, Function

    D.

     Event

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment