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

  • Home
  • SEARCH
  • 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 80157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:15:31+00:00 2026-05-10T21:15:31+00:00

Ok, so I want an autocomplete dropdown with linkbuttons as selections. So, the user

  • 0

Ok, so I want an autocomplete dropdown with linkbuttons as selections. So, the user puts the cursor in the ‘text box’ and is greated with a list of options. They can either start typing to narrow down the list, or select one of the options on the list. As soon as they click (or press enter) the dataset this is linked to will be filtered by the selection.

Ok, is this as easy as wrapping an AJAX autocomplete around a dropdown? No? (Please?)

  • 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. 2026-05-10T21:15:31+00:00Added an answer on May 10, 2026 at 9:15 pm

    This widget can be made with three items: a text input, button input, and an unordered list to hold the results.

     __________  _ |__________||v|__             <-- text and button   |              |            <-- ul (styled to appear relative to text input)   |              |   |              |   |______________| 

    ul shown on:

    • ‘keyUp’ event of the text input (if value is non-empty)
    • ‘click’ event of the button input (if currently not visible)

    ul hidden on:

    • ‘click’ event of the button input (if currently visible)
    • ‘click’ event of list items

    When the ul is shown or the ‘keyUp’ event of the text input is triggered an AJAX call to the server needs to be made to update the list.

    On success the results should be placed in the ul. When creating the list items they should have a ‘click’ event attached to them that sets the text input value and hides the ul (may have to add a link inside the li to attach the event to).

    The hardest part is really the CSS. The JavaScript is simple especially with a solid library like prototype that supports multiple browsers.

    You will probably want to support some IDs for the items, so you can add some hidden inputs to each list item with the id and next to the text input to store the selected items ID.

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

Sidebar

Ask A Question

Stats

  • Questions 86k
  • Answers 86k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If you are talking about the LinqToSql generated classes then… May 11, 2026 at 5:22 pm
  • Editorial Team
    Editorial Team added an answer This depends a bit on the characteristics of your dataset.… May 11, 2026 at 5:22 pm
  • Editorial Team
    Editorial Team added an answer I don't know from what version gcc supports it, but… May 11, 2026 at 5:22 pm

Related Questions

Edit: The code here still has some bugs in it, and it could do
Ok, so I have an nHibernate ICriteria that returns an object. I want to
OK, so I'm trying to teach myself the CakePHP framework, and I'm trying to
OK so that title sucks a little but I could not think of anything

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.