Hi,

I am trying to get the new width of a div after window resize.    I am
using:

$(window).bind('resize', function() {

  $myDivWidth = $('.mydiv').width();

}

but I am finding that the value is of the size BEFORE resize, rather
than after.     $(window).ready(function()  doesn't fire on resize, so
how can I get the width after resize?

Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to