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 6934049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:54:38+00:00 2026-05-27T11:54:38+00:00

Right now I am populating a dropdown div of an input with data on

  • 0

Right now I am populating a dropdown div of an input with data on an unordered list on afterauth.php with this code (on keyup of the input):

$("#dropdown").load("../invites/afterauth.php");

All this code does is when i type into the input, it loads the data in a nice list in the dropdown div.

I need to be able to do a bit more:

First, I want the data that drops down to act as an “autocomplete” for the characters being entered in the input. So if I begin typing “ac” into the input, data from afterauth.php such as “actual” and accept” will show in the dropdown.

Second, I want to limit the data shown on the dropdown list to 6 items, and again, I’m confused on how to do that.

Thanks!

  • 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-27T11:54:39+00:00Added an answer on May 27, 2026 at 11:54 am
    $("#dropdown").autocomplete('../invites/afterauth.php',{key:value});
    

    key and value pair should be as per ajax call.

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

Sidebar

Related Questions

Right now I'm populating/setDefaults a zend_form like this from the controller: $data = array('user'
Right now I'm doing something like this: RewriteRule ^/?logout(/)?$ logout.php RewriteRule ^/?config(/)?$ config.php I
Right now, I have code that looks something like this: Private Sub ShowReport(ByVal reportName
Right now the library can translate this operation Select * from List where name
Right now, I'm particularly interested in reading the data from MP3 files (ID3 tags?),
As it stands right now, I have a TableLayout that I am populating based
I've got two ListBox's with objects as an ItemsSource populating them. Right now, I'm
populating table with initial data: additionsTable.setModel(new AdditionalDocsTableModel(addDocuments)); constructor of the model: public AdditionalDocsTableModel(List<MyDocument> docs)
Right now I'm populating a UIScrollView with a series of views. The views need
I am wondering what solutions out there for populating data for a template. Right

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.