bootstrap4-toggle icon indicating copy to clipboard operation
bootstrap4-toggle copied to clipboard

Uncaught TypeError: $(...).bootstrapToggle is not a function

Open nurullahguc opened this issue 4 years ago • 0 comments

How can i fix it?

Here is my code;

`

                    <input id="chkToggle" type="checkbox" data-toggle="toggle">

                    <script>
                        $(document).ready(function () {
                           setTimeout(function () {
                               $('body #chkToggle').bootstrapToggle('on', true);
                                alert('asd');
                           }, 2000);

                        })
                    </script>

`

nurullahguc avatar Jul 12 '21 17:07 nurullahguc