0

I have a couple of select2 'controls'

<select id="SizeID" class="js-example-basic-multiple" multiple="multiple"  style="">
        //                          
</select>

<select id="ColorID" class="js-example-basic-multiple" multiple="multiple"  style="">
        //                          
</select>

By using the following, i can get the selected values.

$('select').select2().on("change", function (e) {
    log(e.val);
})

But how can i get the id of the select2 that triggered the change event?

OrElse
  • 9,709
  • 39
  • 140
  • 253

0 Answers0