showing results for - "how to get postion of page where i click in jquery"
Lotta
05 Jul 2017
1<!doctype html>
2<html lang="en">
3<head>
4  <meta charset="utf-8">
5  <title>position demo</title>
6  <style>
7 
8  </style>
9  <script src="https://code.jquery.com/jquery-3.5.0.js"></script>
10</head>
11<body>
12 
13<div>
14  <p>Hello</p>
15</div>
16<p></p>
17 
18<script>
19var p = $( "p" ).first();
20var position = p.position();
21$( "p" ).last().text( "left: " + position.left + ", top: " + position.top );
22</script>
23 
24</body>
25</html>
26