Powered By Blogger

Thursday, September 26, 2013

how to find div width in runtime and assign another div height

<script type="text/javascript">
$(window).load(function() {

 $a =  $('.myphotos').height();

   $('#center_thumb').height($a);

        })
</script>

No comments:

Post a Comment