সহায়তা খুঁজুন

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

আরও জানুন

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

All Replies (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