Home / Programming MCQs / JavaScript MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. Which is the method used to add an event listener?

(A) addEventListener()
(B) addListener()
(C) addEvent(Listener)
(D) addListener(Event)
Explanation by: Mr. Dubey
The addEventListener() method is used to add an event listener to the script.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.