$("#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 jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.