Have you tried:
$(this).css('width')
also 'top', 'left', 'height' ?
On Oct 31, 7:10 am, BluMan <[email protected]> wrote:
> $("#name_of_div").mousemove(function(){
> var dim = $(this).size();
> var coord = $(this).position();
> $("#test").text( "width: " + dim.width + ", height: " +
> dim.height );
> });
>
> I use this cod ... and in div test appear: width: undefine heigh:
> undefine .... why ??? Pliz help me
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.