Я использую Bootstrap Switcher (https://bttstrp.github.io/bootstrap-switch/examples.html)
<p><input type="checkbox" checked="checked" data-on-color="info" ></p>
<script src="js/jquery-3.3.1.js"></script>
<script src="js/highlight.js"></script>
<script src="https://unpkg.com/bootstrap-switch"></script>
<script src="js/main_switch.js"></script>
По умолчанию это выглядит так:
But I would like the switcher to be default switched to ON:
But even if I set it to checked, it is always OFF. I also tried:
But no change.
I also tried:
но без изменений