I've come across various tutorials online on how to create a side collapsible menu, but they all involve a lot of code. I just need to toggle the visibility of a specific div within this structure:
<div class="row">
<div class="col-md-2">
<div class="well">
<span><b>Resources</b></span>
<form class="form-inline">
<input type="text" placeholder="type text here"
class="form-control" id="resource_filter" />
<button class="clear btn btn-default btn-sm" type="button"
title="clean">
<span class="glyphicon glyphicon-repeat"></span>
</button>
</form>
</div>
</div>
<div class="col-md-10">
<div id="calendar" class="well"></div>
</div>
</div>
I'm specifically looking to show or hide the div with the col-md-2
class in order for the last div (col-md-10) to take up the full width. Any simple solutions for this?