Shaun DL Shaun DL - 6 months ago 5
HTML Question

Change Div height jQuery

I'm trying to change the style of my div from

<div id="map" style="height:25%;"></div>


<div id="map" style="height:0%;"></div>

On a click



  • <li><a name="hideMap" class="btn red"><i class="material-icons" style="color:white;">notifications_active</i></a></li></li>

    Thanks in advance if you can assist :)

  • Answer


    do u want change the height of map div then you can write below code


    below is the working fiddle