42
rated 0 times
[
43]
[
1]
/ answers: 1 / hits: 16232
/ 13 Years ago, mon, february 20, 2012, 12:00:00
First of all, I am not looking for jQuery solution, just simple pure Javascript code, inside of an element.
Let's say we have following html code:
<select onmousedown=" ??? ">...</select>
I want a simple script inside of the element to show popup message alert()
with information which button was pushed down and what is a relative position of the element to the document <body>
- something like offset()
in jQuery.
More From » html