Question and answer is powered by AnsPress.io
How to reset a select dropdown having select2 class .I am doing like this but not working.
$(‘#country’).val(”);
It is very simple to reset the dropdown.
$(‘#country’).val(”).trigger(‘change’);
Here #country is id dropdown.