11 lines
255 B
HTML
11 lines
255 B
HTML
|
|
|
|
<input id="toggle-event" type="checkbox" data-toggle="toggle">
|
|
<div id="console-event"></div>
|
|
<script>
|
|
$(function() {
|
|
$('#toggle-event').change(function() {
|
|
$('#console-event').html('Toggle: ' + $(this).prop('checked'))
|
|
})
|
|
})
|
|
</script> |