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
Post a Comment