I have a bootstrap checkbox that I would like to trigger an alert dialog when it is switched off.
<div class="row">
<link href="css/bootstrap-toggle.min.css" rel="stylesheet">
<script src="javascript/bootstrap-toggle.min.js"></script>
<!-- Status checkbox indicating ON or OFF -->
<input type="checkbox" id="status-check" checked data-toggle="toggle" data-onstyle="success" data-offstyle="danger">
</div>