Craig Hopson Posted August 26, 2013 Share Posted August 26, 2013 Hi guys, what i am looking for is 5 drop down boxes with 5 options. When one option is selected it then cant be selected in the other 4 drop downs and so on until eventually all 5 drop downs will have one off the 5 options i'm using bootstrap (hence posting in Javascript section), I'm shore there is a easy way to do this i just cant figure it out Thanks all Link to comment Share on other sites More sharing options...
davej Posted August 26, 2013 Share Posted August 26, 2013 http://getbootstrap.com/2.3.2/javascript.html#dropdowns Link to comment Share on other sites More sharing options...
Craig Hopson Posted August 26, 2013 Author Share Posted August 26, 2013 http://getbootstrap.com/2.3.2/javascript.html#dropdownsi dont understand this is dropdown menus not selection boxes Link to comment Share on other sites More sharing options...
davej Posted August 26, 2013 Share Posted August 26, 2013 Oh, you just mean a select dropdown... http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select I guess you would include a "none" value at the top of each list and just assign the onchange event to a function that would change the value back to "none" if it was a duplicate of another dropdown. <select id="car"> <option value="none">None</option> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option></select> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now