When is the mouseout event fired?

Lò Ngọc

New member
When is the mouseout event fired?
A. When mouse is no longer over an element
B. When mouse is over an element
C. When mouse is hovered
D. When mouse is clicked
 
Answer: a
Explanation: When the mouse moves so that it is no longer over an element, the browser fires a mouseout event on that element. The mouseout() method triggers the mouseout event, or attaches a function to run when a mouseout event occurs
 

Tìm kiếm

Back
Top