Hi Peter,
There is to function one to disable and the other to enable
function enablelast() { $("#day").jqxDropDownList({ disabled: true }); $("#month").jqxDropDownList({ disabled: true }); $("#year").jqxDropDownList({ disabled: true }); $("#dayto").jqxDropDownList({ disabled: true }); $("#monthto").jqxDropDownList({ disabled: true }); $("#yearto").jqxDropDownList({ disabled: true }); $("#DayCount").jqxDropDownList({ disabled: false }); } function enableDayRange() { $("#day").jqxDropDownList({ disabled: false }); $("#month").jqxDropDownList({ disabled: false }); $("#year").jqxDropDownList({ disabled: false }); $("#dayto").jqxDropDownList({ disabled: false }); $("#monthto").jqxDropDownList({ disabled: false }); $("#yearto").jqxDropDownList({ disabled: false }); $("#DayCount").jqxDropDownList({ disabled: true }); }