본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

I'd like <select size="1" multiple> to provide this: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkb

  • 4 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: mircea.lutic

more options

I'd like <select size="1" multiple> to provide a dropdown with checkboxes like this: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx

Can that be done?

Thanks

I'd like <select size="1" multiple> to provide a dropdown with checkboxes like this: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx Can that be done? Thanks

모든 댓글 (4)

more options

Unfortunately, as far as I know, a plain old <select> control cannot have form controls in its options. I think you will need to use JavaScript. On that page, clicking the "button" (it's simulated, actually) displays an unordered list. List items have the flexibility to include checkboxes.

more options

It's not about form controls in the <select> it's about what the <select size="1" multiple> looks like. <Select> *is* a form control.

The problem is that when I want a compact control with multiple selection the standard alternative looks bad and is difficult to understand for the user.

The address I mentionned shows the way <select size="1" multiple> should look and work.

I guess the Mozilla development community is the community that can make it so.

Thank you

more options

You can file a request for enhancement in the bug tracking system: https://bugzilla.mozilla.org/. But if you know anyone enthusiastic about writing the code, that probably is even more important.

more options

Thank you for your suggestion. I did a post on bugzilla.

Thanks