Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3236700
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:39:07+00:00 2026-05-17T17:39:07+00:00

I’ve got a select element with a large number of option elements and I’m

  • 0

I’ve got a select element with a large number of option elements and I’m looking for a way to toggle between having all options available and having a subset of the options available for selection (the subset being the most popular options). The options are ordered alphabetically and are grouped by their value’s initial letter.

If the user doesn’t see the option they want while browsing the select element showing a subset of options, it would be nice to be able to select an option named something like “show more Bs” and, without collapsing the select element, the full set of options magically appear. By collapsing, I’m talking about the normal behaviour of a select element when one of its options is selected.

It would obviously be easy to select an option and trigger re-population of the select element, but from a users perspective, it’s not exactly intuitive if the select element has to collapse in order to repopulate – my feeling is that the user might imagine they need to click the search button to see more Bs when in fact they would need to re-open the select.

So my question then: is it possible to repopulate or add options to a select element without collapsing it?

I have, of course, trawled the web looking for a solution and found nothing of value – this could of course be down to my (possible lack-of) search-fu. I feel like there ought to be a javascript solution (not my forte) and ideally a jquery one, so better ask some experts methoughteth. Naturally, I’m open to other elegant and intuitive solutions to achieve the same result, should my question return a resounding “No!”.

Thanks for reading.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:39:08+00:00Added an answer on May 17, 2026 at 5:39 pm

    Simply put: no. The moment the select element loses focus the select box will collapse. If you wanted to create a dynamic selection tool without having an unintuitive collapse I would suggest thinking outside the box.

    Take a day and think of all the possible ways you could create a User Interface to accomplish this goal of displaying data. Perhaps abstracting the “Select More…” options outside of the select box. Perhaps Not using a select box and using an accordion style widget.

    Edit: Now that I think about it, this is possible with some JavaScript-fu. Instead of using a select list, you could create a pop-up style window. A prime example of this is the StackExchange drop-down in the upper-left corner of your screen.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
i got an object with contents of html markup in it, for example: string
I've got a string that has curly quotes in it. I'd like to replace
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a JSP page retrieving data and when single or double quotes are
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.