how to clear all options in select jquery code example
Example 1: remove all options from select jquery
$('#mySelect')
.empty()
Example 2: how to clear all the dropdown elements in jquery
$("#GroupName").empty();
$('#mySelect')
.empty()
$("#GroupName").empty();