Shaun DL Shaun DL - 2 years ago 100
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 Source


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


    below is the working fiddle

    Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download