removing selected item from dropdown but displaying it as selected

budda6

New Member
I have a drop down like below which displays 10,20,30,40\[code\]<select> <OPTION value="http://stackoverflow.com/questions/12803616/10" label="10"> 10 </OPTION> <OPTION value="http://stackoverflow.com/questions/12803616/20" label="20"> 20 </OPTION> <OPTION value="http://stackoverflow.com/questions/12803616/30" label="30"> 30 </OPTION> <OPTION value="http://stackoverflow.com/questions/12803616/40" label="40"> 40 </OPTION></select>\[/code\]It will display 10 as selected and when we click on dropdown, 10,20,30,40.If 20 is selected, It will display 10 as selected and when we click on dropdown, 10,20,30,40.Now I have to implement like, if 20 is selected, display it as selected, but in dropdown, display only 10,30,40. 20 should be displayed only in selected place.Is there any way to implement this functionality?
 
Back
Top