1.

Which object is passed as the argument to handlers for keydown, keyup, and keypress events?(a) KeyboardEvent(b) Key Event(c) Mouse Event(d) Alphabet Event

Answer» Right answer is (a) KeyboardEvent

Explanation: What is new in the DOM Level 3 Events specification is standardized support for two dimensional mouse wheels via the wheel event and better support for text input events with a new KeyboardEvent object that is passed as the argument to handlers for keydown, keyup, and keypress events.


Discussion

No Comment Found

Related InterviewSolutions