jquery clear select dropdown code example
Example 1: jquery clear select 2
$('select2element').val(null).trigger("change")
Example 2: how to clear all the dropdown elements in jquery
$("#GroupName").empty();
$('select2element').val(null).trigger("change")
$("#GroupName").empty();