The following code snippet from the bootstrap website demonstrates how to use collapse functionality:
<a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Link with href
</a>
<div class="collapse" id="collapseExample">
<div class="well">
...
</div>
</div>
I am looking for a way to hide the link that triggers the collapse feature once it is opened. Is there a method to achieve this without needing extra JavaScript?