I have two comboboxes on an form. Each has the values Yes and No. What I want is when one is changed the other get the opposite (if the first is Yes the other is No).I need to do it with Javascript. I saw this question How to change "selected" value in combobox using JavaScript? but it is applied to only one combobox.
How can I do this?
LE:I need this example to be make with comboboxes. I can not use radio buttons
I created a simple jsFiddle Demo. This is not perfect, just illustrates the idea.
HTML:
Javascript: