In this tutorial , we will discuss about 'offset' method of jQuery . This method is used to find the coordinate of the clicked html element. In this example we also display which element is clicked by using "this.tagname".
When we click on box :
When we click on text line it will display :
Recommend the tutorial