D
D
Destell2018-01-10 11:34:32
HTML
Destell, 2018-01-10 11:34:32

Why is the checkbox not working when clicking on label via id in IE8?

Why might the checkbox not work when clicking on label via id in IE8? The checkmark does not appear when clicked.
View markup

.container
                        input#check(type="checkbox")
                        label(for="check")
                            | Текст

At the same time, the js code for checking the activation of the checkbox is triggered
$('.js-check').on('click', function () {
      $(this).parents('.js-check-parent').find('.js-send').prop('disabled', function(i, v) { return !v; });
 });

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question