javascript - Getting coordinates of an image map with a mouse click -


I have a html image map and when the map clicks on the map, I want to get the coordinates.

Is there a way to direct the map with a mouse click on the map?

You can use the JQuery library and can do the following:

  $ (".link"). Click (function (e) {e.pageX; e.pageY;}  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -