-
FEATURED COMPONENTS
First time here? Check out the FAQ!
on click of image tag,how to get x and y coordinate i.e image possitions of the image
Hi
<div width="300px" height="300px" style="background:blue" onClick='alert(event.x)' /> //or event.pageX
plz refer getX() & getPageX()
/Matthew
Asked: 2011-07-04 06:52:37 +0800
Seen: 441 times
Last updated: Jul 04 '11