Well, I have this code that I'm supposed to give to show and hide a div but it's not working for me. '
<div class="btn-group custom-btn-group" data-toggle="buttons">
<label class="btn btn-default active" >
<img src="img/3d-pie-chart-icon.png" alt="" />
<input id="circular" type="radio" class="form-control" name="circular" value="0" checked="checked" />
</label>
<label class="btn btn-default" >
<img src="img/SEO-icon.png" alt="" />
<input id="barras" type="radio" class="form-control" name="barras" value="1" />
</label>
</div>$("#barrasgrafico").on("change", function () {
$("#bar_div").show();
$("#chart_div").hide();
});
$("#circulargrafico").on("change", function () {
$("#bar_div").hide();
$("#chart_div").show();
});'