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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:26:41+00:00 2026-05-20T00:26:41+00:00

I have a site with a form with autocomplete using jquery. It works fine,

  • 0

I have a site with a form with autocomplete using jquery. It works fine, however when i add the jQuery UI to my page, it stops working. Does anybody have an idea why or how to fix it, I can’t seem to find why.

the code for the autocomplete is as follows:

head:

<script type="text/javascript" src="js/jquery-1.5.js"></script>
<script type='text/javascript' src='jquery.autocomplete.js'></script>

    <script type="text/javascript">
    $().ready(function() {
        $("#food").autocomplete("search.php", {
            width: 260,
            cacheLength: 10,
            matchContains: false,

            //mustMatch: true,
            //minChars: 0,
            //multiple: true,
            //highlight: false,
            //multipleSeparator: ",",
            selectFirst: true

        });
    });
    </script>

body:

<input type="text" name="food" id="food" / >

So when I add the following line to my head in the code it stops working:

<script type="text/javascript" src="js/jquery-ui-1.8.9.custom.min.js"></script>

Is there overlap in functions between the jqQuery and jQueryUI library that breaks it? Any ideas on how to fix this?

  • 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-20T00:26:42+00:00Added an answer on May 20, 2026 at 12:26 am

    Yes the autocomplete function is overlapping here. http://jqueryui.com/demos/autocomplete/

    If you really dont wanna use jQuery UI AutoComplete then call your custom script after jquery ui script.

    <script type="text/javascript" src="js/jquery-1.5.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.8.9.custom.min.js"></script>
    <script type='text/javascript' src='jquery.autocomplete.js'></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site that has a simple HTML button in a form. All
I have a custom site definition which includes a form library. I have a
I have a site using a custom favicon.ico. The favicon displays as expected in
I'm using the Textpattern CMS to build a discussion site-- I have a firm
I'm building an intranet site for work with an autocomplete feature. I have it
On my site I have a form that spans 2 steps each step 1
I have an existing site that is working well with Authlogic login. I'm trying
I have a login.jsp page which contains a login form. Once logged in the
I have site with single Post which has comment form. How could I receive
I have a site that uses custom fonts. I've got the font form the

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.