Vidyalelo
JavaScript · Q86

Document Object Model And Event Handling

Programming · JavaScript · question 86

Q86

When is the mouseout event fired?

A.
When mouse is no longer over an element
Answer
B.
When mouse is over an element
C.
When mouse is hovered
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
When the mouse moves so that it is no longer over an element, the browser fires a mouseout event on that element.