Is there a way to update the glyphicon based on whether or not a collapsible element is open?
This is the code I currently have:
<div class="jumbotron ref" data-toggle="collapse" data-target="#collapse">
<div class="row">
<div class="col-md-11">
<a target="_blank" href="#"><h4 align="center">Click me.</h4></a>
</div>
<div class="col-md-1">
<span class="glyphicon glyphicon-chevron-down"> <!-- part to change-->
<div id="collapse" class="collapse">
<p style="margin-top: 75px;" align="center"></p>
</div>