This is driving me insane.
I have this:
<div class="container">
<div class="panel panel-primary">
<div class="panel-heading" id="panel-head">
<a data-toggle="collapse" data-target="#collapseDiv" class="white-link" id="toggle" >Records Added
<span class="indicator glyphicon glyphicon-chevron-down pull-left pad-right" id ="glyphicon"></span>
</a>
</div>
<div id="collapseDiv" class="panel-collapse collapse">
<div class="panel-body">
And I am trying to fire the collapse with this (in various ways):
$('#collapseDiv').collapse("toggle")
All I get is:
Uncaught TypeError: $(...).collapse is not a function(…)
Any ideas?
```
```