I need to get the height of a div that has three class namely a , b, c i.e. <div class="a b c"></div>
<div class="a b c"></div>
I tried using $('a b c').height(); but this returns null.
$('a b c').height();
I need to use Jquery for this. Solution using only JS is also welcomed.
the $() accepts a css selector. So you would target it with:
$('.a.b.c').height();
Thanks jamy_Za
I need to get the height of a div that has three class namely a , b, c i.e.
<div class="a b c"></div>I tried using
$('a b c').height();but this returns null.I need to use Jquery for this. Solution using only JS is also welcomed.
the $() accepts a css selector. So you would target it with:
Thanks jamy_Za