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 form in a jQuery enabled site. The form does not feature
I have a test server with a page using jquery autocomplete. The autocomplete feature
I have this site and I try to add a contact form in jQuery
I have a site that uses JS and jQuery and works fine on all
I have an enquiry form on a site, which has been working for a
I have a website with in ASP.NET working fine. However, it becomes really annoy
I want to have my site having form validation and xml generation by using
I have a site with a login form. When the login form page is
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

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.