Event Handler for multiple options

Hello there!

I have a Boostrap 4 select with some collections, as bellow:

I need a event to handle these multiple options selected. I can set their value on Session, but still, how do I get multiple values? Because change only gives me the last one clicked.

Here is my code:

    "change #mapDropDown": function(event, template){
        var mapId = event.target.value;
        var myMap = Maps.findOne(mapId);

        generateMap(myMap.link(), 'map');

Any help would be appreciated,
thanks for your time!

Have you tried $(’#selectId’).val()? it works on the Bootstrap 4 demo page.

1 Like

My #selectId 's are dynamic. Generated when User submits a file