Rinkesh
asked on
Combo box with same option value.
Hi,
I am using a combo box in which two or more than two items are having same value.
<Select name="cmb" >
<option value="">
<option value="A">A
<option value="B">B
<option value="C">C
<option value="A">A
</select>
When I select the last A (option 4), the combo automatically selects first A(option 2). When I select the last A second time then it correctly selects the last A(option 4).
Can any body tell the reason for this problem.
I am using a combo box in which two or more than two items are having same value.
<Select name="cmb" >
<option value="">
<option value="A">A
<option value="B">B
<option value="C">C
<option value="A">A
</select>
When I select the last A (option 4), the combo automatically selects first A(option 2). When I select the last A second time then it correctly selects the last A(option 4).
Can any body tell the reason for this problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you activating the combo box and then typing the letter 'A'? That would give you the effect you are experiencing...I agree with bvinson, let us know your ultimate goal and we can help more.
Maybe there is another, more reliable way to accomplish what you are attempting.
bvinson