How to get unselected option value of bootstrap multiselect?

189 views Asked by At

There are some options selected in bootstrap multiselect. Whenever I will unselect any of those selected options, I need the value of unselected option. How can I get this value?

<select
    class="form-control bootstrap-selectpicker"
    data-live-search="true"
    data-selected-text-format="count"
    name="colors[]"
    id="colors"
    multiple
    onchange="showValue(this)">
        <option value="1" selected>Red</option>
        <option value="2" selected>Yellow</option>
        <option value="3">White</option>
</select>
0

There are 0 answers