how to get right offset of an element? - jQuery
Posted
by Alex
on Stack Overflow
See other posts from Stack Overflow
or by Alex
Published on 2010-06-15T06:56:44Z
Indexed on
2010/06/15
7:02 UTC
Read the original article
Hit count: 135
jQuery
This is probably a really simple question, but how do I go about getting the right offset of an element in jQuery?
I can do:
$("#whatever").offset().left;
and it is valid.
But it seems that:
$("#whatever").offset().right
is undefined.
So how does one accomplish this in jQuery?
Thanks!!
© Stack Overflow or respective owner