I want to have a element that displays in the multiple selection display style (it –the box instead of the drop down), but only allows you to select on thing at a time. Is that possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This will display a listbox-style select element that allows only one selected item at a time:
The
sizeatttribute will control how many rows that are visible in the control. If you want to allow multiple items to be selected, add the multiple attribute to the select element: