I have two HTML select boxes. I need to reset one select box when I make a selection in another.
select
&l
This is the most flexible/reusable way to reset all select boxes in your form.
var $form = $('form') // Replace with your form selector $('select', $form).each(function() { $(this).val($(this).prop('defaultSelected')); });