Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery set div height dynamically

$(document).ready(function() {
    var divHeight = $('.col-1').height(); 
    $('.col-2').css('min-height', divHeight+'px');
});  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #set #div #height #dynamically
ADD COMMENT
Topic
Name
8+2 =