DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   drop down list (http://www.daniweb.com/forums/thread116303.html)

dkwantee Mar 29th, 2008 11:57 am
drop down list
 
Hello!
i want to know if it is possible to create two drop down list and add code such that when a user select a value from the first drop down, he cannot select the same value from the second one..?

~s.o.s~ Mar 30th, 2008 1:54 pm
Re: drop down list
 
Yes, one such way would be to remove the same value from the second drop down so that the user never gets to select it. Another way would be to attach a 'onchange' listener to the second drop down which disallows the selection of a value present in the first drop down.


All times are GMT -4. The time now is 2:01 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC