Q:

selected option value cannot be reset

I'm having two select boxes on my mvc razor view which are styled using selectBoxIt plugin
On changing #ddHour I want to reset #ddDay select(to set on first select choice)
var selectedDay = $('#ddDay option:nth-child(1)').val();

I tried with 
$("#ddDay").selectBoxIt('refresh');

but it always returns same previously selected #ddDay option

A:

You should use selectOption to do that:
$("#ddDay").selectBoxIt().data("selectBox-selectBoxIt").selectOption('yourSelectBoxValue');

Regards.

