What am I doing wrong? I have loaded the latest version of jQuery and the entire bootstrap library. I can see the $.fn.button in the DOM as well. However, I cannot seem to get the toggling to work. Below are the relevant snippets.
<div class="btn-group" data-toggle="buttons-radio" id="transactions-
filter">
<button class="btn">Sales</button>
<button class="btn">Transactions</button>
</div>
<script>
$('#transactions-filter').button();
</script>
