1.I want to get the x and y coordinates of any position of window using onclick event. using alert(event.x) is working only IE. but I want to work with both IE and Firefox.
2. And also draw a simple div box whereever I click. Is it possible for both IE and Firefox?
I want to get the x and y coordinates of any position of window using onclick event. using alert(event.x) is working only IE. but I want to work with both IE and Firefox.