jquery clear select options code example
Example 1: remove all options from select jquery
$('#mySelect')
.empty()
Example 2: jquery clear select 2
$('select2element').val(null).trigger("change")
Example 3: reset select form jquery
$('select').each( function() {
$(this).val( $(this).find("option[selected]").val() );
});
Example 4: jquery select clear options
$('#mySelect')
.find('option')
.remove()
.end()
.append('<option value="whatever">text</option>')
.val('whatever')
;