This is the code that worked for @Abou
$('#ctrl-f_warehouse_id').on('change', function(){
$('#ctrl-l_warehouse_id')
.find('option')
.remove()
.end();
$('#ctrl-l_warehouse_id').attr("placeholder", "Sélectionnez une valeur");
$("#ctrl-f_warehouse_id > option").each(function() {
if($(this).val() != $('#ctrl-f_warehouse_id').val()){
$('#ctrl-l_warehouse_id').append(new Option(this.text, this.value));
}
});
});