I have two HTML select boxes. I need to reset one select box when I make a selection in another.
select
&l
Setting option 1 in the select element can be done by this segment. To visually show it, you have tp add .trigger('change') at the end.
$('#name').removeAttr('selected').find('option:first').attr('selected', 'selected').trigger("change");