How to clear a select when changed another (select2) – Jquery
I have this two selects, where I only have to select one at a time: <div class="col-md-12"> <div class="form-group"> <label>Geo Blacklist</label> <select name="blacklist[]" multiple="multiple" id="blacklist" class="form-control select2" data-placeholder="Seleccionar uno o varios países" tabindex="1" onchange="$('#whitelist').val([]).change();"> <option>a</option> <option>b</option> <option>c</option> </select> </div> </div>…