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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:40:54+00:00 2026-05-23T14:40:54+00:00

I have the jquery autocomplete example working on a test page, but can’t seem

  • 0

I have the jquery autocomplete example working on a test page, but can’t seem to get the dropdown list styled. It just shows up as an ordinary ul with li items (not the white background box with a list as in the example). I have tried this alone and with the redmond theme, any thoughts on what I might be doing wrong? I see the redmond stylesheets in firebug, so the page is loading them.

js (working)

$(document).ready(function() {
    $("input").autocomplete({
        source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby"]
    });
});

css/js includes

<script src="/public/javascripts/jquery-1.6.2.js'"></script>
<script src="/public/javascripts/jquery-ui-1.8.14.custom.min.js"></script>
<script src="/public/javascripts/ac.js"></script> // where the above js is 
<script src="/public/javascripts/jquery.tools.min.js"></script>

<link rel="stylesheet" type="text/css" media="print" href="/public/stylesheets/redmond/jquery.ui.all.css"/>

here is the input:

<input name="searchString" type="text" class="searchbox ui-autocomplete" id="autocomplete"/>

(edit: added CSS, overlooked this when writing the question)

  • 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-23T14:40:55+00:00Added an answer on May 23, 2026 at 2:40 pm

    Download a theme and include the theme’s CSS.

    <link rel="stylesheet" href="/public/css/jquery-ui.css" type="text/css">
    

    You can see the themes here, and just download them from the download page by selecting the theme you want in the right-hand bar..

    Edit: It looks like you’re using the old jQuery auto-complete plug-in which has been discontinued. You can try the following CSS for that if you wish. I STRONGLY recommend you use the jQuery UI autocomplete however.

    /* Autocomplete styles */
    .ac_results {
            padding: 0px;
            border: 1px solid black;
            background-color: white;
            overflow: hidden;
            z-index: 99999;
    }
    
    .ac_results ul {
            width: 100%;
            list-style-position: outside;
            list-style: none;
            padding: 0;
            margin: 0;
    }
    
    .ac_results li {
            margin: 0px;
            padding: 2px 5px;
            cursor: default;
            display: block;
            /*
            if width will be 100% horizontal scrollbar will apear
            when scroll mode will be used
            */
            /*width: 100%;*/
            font: menu;
            font-size: 12px;
            /*
            it is very important, if line-height not setted or setted
            in relative units scroll will be broken in firefox
            */
            line-height: 16px;
            overflow: hidden;
    }
    
    .ac_loading {
            /* loader image */
            background: white url('indicator.gif') right center no-repeat;
    }
    
    .ac_odd {
            background-color: #eee;
    }
    
    .ac_over {
            background-color: #0A246A;
            color: white;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to get a simple example of the jquery-ui autocomplete to
I have the jQuery UI Autocomplete setup to my liking and working perfectly, but
I installed the JQuery token-input plugin. https://github.com/loopj/jquery-tokeninput Autocomplete is working, but I have a
I have a jquery autocomplete field working fine followed by a date input field.
So I am working with ASP.Net MVC + jQuery autocomplete and I have a
I have two jQuery autocomplete textboxes on a mvc web page. One that returns
I threw up a simple example with jquery autocomplete and cannot get it to
I have a jQuery Autocomplete field on an ASP.Net Webform and everything has been
I have an jQuery.autocomplete field presenting a limited range of decimal numbers. Ex: var
The below code is very simple. I have a jQuery autocomplete bound to an

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.