event.pageY

event.pageY

event.pageYReturns: Number

Description: The mouse position relative to the top edge of the document.

  • version added: 1.0.4event.pageY

Example:

Show the mouse position relative to the left and top edges of the document (within this iframe).

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>event.pa