jquery - automaically change div height with other -
i have div in site named offers has auto height . have div called promotions. want make way if increase height of first div second div automatically change height according first div. how can that? thanks
<div class="offers"> </div> <div class="promotions"> </div>
demo - http://jsfiddle.net/victor_007/ma51tap3/
var = $('.offers').height()
_increase height of first div second div automatically change height _
to check sibling
$('.offers').siblings('.promotions').height(a)
or check next
$('.offers').next('.promotions').height(a)
Comments
Post a Comment