Vidyalelo
JavaScript · Q82

Document Object Model And Event Handling

Programming · JavaScript · question 82

Q82

The properties that specify the position and button state of the mouse are

A.
clientX and clientY
Answer
B.
clientY and clientX
C.
altKey and ctrlKey
D.
metaKey and shiftKey

Answer: Option A

Solution

Answer: Option A
Solution:
The clientX and clientY properties specify the position of the mouse in window coordinates.