jquery clear select 2
$('select2element').val(null).trigger("change")
Selfish Seahorse
$('select2element').val(null).trigger("change")
$('#mySelect')
.find('option')
.remove()
.end()
.append('<option value="whatever">text</option>')
.val('whatever')
;