I
I
Ivan Simonov2018-03-12 16:29:43
JavaScript
Ivan Simonov, 2018-03-12 16:29:43

How to bind select to owl carousel 2?

My code is https://jsfiddle.net/vfjrzr65/1/
I can't figure out why the select binding with the slider doesn't work.

When choosing the select option, everything works, that is, it is selected accordingly. slide.
But when you click on the slide, #sync2 .itemalas, the corresponding is not selected. option select.
Tell me why it doesn't work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad, 2018-03-12
@ivansimonov1984

Can instead
add

$('#selectId option').prop('selected', false);
$('#selectId').multiselect('select', selected);
$('#selectId').multiselect('refresh');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question