jquery clear dropdown selection code example
Example 1: jquery select clear options
$('#mySelect')
.find('option')
.remove()
.end()
.append('<option value="whatever">text</option>')
.val('whatever')
;
Example 2: how to clear all the dropdown elements in jquery
$("#GroupName").empty();