-
Notifications
You must be signed in to change notification settings - Fork 16
Events not working #6
Copy link
Copy link
Closed
Description
I've been trying to attach a .change() listener to switchbutton but I'm not able to do so. On trying out the documentation, I found that even the example code doesn't seem to be working.
<input id="switch-event" type="checkbox" data-toggle="switchbutton">
<div id="console-event"></div>
<script>
$(function() {
$('#switch-event').change(function() {
$('#console-event').html('Checked?: ' + $(this).prop('checked'))
})
})
</script>
Neither is it working on my project, nor on the official website for this repo
Bootstrap Switch Button
Are there going to be any fixes in the foreseeable future?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working