Answers for "get max height from array element jqeury"

0

get max height from array element jqeury

var max = -1;
$("li").each(function() {
    var h = $(this).height(); 
    max = h > max ? h : max;
});
alert(max);
Posted by: Guest on August-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language