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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:24:45+00:00 2026-05-21T15:24:45+00:00

The following autocomplete code works with Jquery 1.4.4 but not with 1.5.1. I am

  • 0

The following autocomplete code works with Jquery 1.4.4 but not with 1.5.1. I am using jquery-ui-1.8.11. I use the selected item to populate an array, the alert() call is just for testing purposes. I aware of an autocomplete bug in 1.5 but thought 1.5.1 fixed it. Any ideas on what I should do to get this working in 1.5.1? My guess would be something with the json results, which are listed below.

$("#selected").autocomplete({
    source: function (request, response) {
        $.ajax({
            url: autourl, type: "POST", dataType: "json",
            data: { query: request.term, maxResults: 10, donationid: donationid },
            success: function (data) {
                response($.map(data, function (item) {
                    return { Label: item.Label, value: item.Label, VolunteerID: item.VolunteerID, DisplayName: item.DisplayName, QtyFilled: item.QtyFilled }
                }))
            }
        })
    },
    select: function (event, ui) {
        alert(ui.item.DisplayName);
    }
});

The following is returned for 1.4 and 1.5.1.
[{“VolunteerID”:1,”Label”:”John Smith (jsmit@domain.com)”,”DisplayName”:”John Smith”,”FirstName”:”John”,”LastName”:”Smith”,”AliasName”:null,”QtyFilled”:0}]

  • 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-21T15:24:46+00:00Added an answer on May 21, 2026 at 3:24 pm

    Are you by chance using the validator plugin? There is a conflict between a previous version of the validator plugin and any 1.5.x jquery plugin. Downloading the updated validation plugin worked for me.

    https://github.com/jzaefferer/jquery-validation

    If this wasn’t the issue, try removing any extensions and trim down the code so all you have left is the autocomplete code.

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

Sidebar

Related Questions

I'm trying to implement autocomplete for a textbox using the following code, but it's
I am using the following code as part of an autocomplete script to avoid
I'm using the following JQUERY Autocomplete plug-in: jQuery Plugin: Tokenizing Autocomplete Text Entry What'd
the following code works well in Chrome/FireFox, but error in IE. The error shows
Im using jQuery UI autocomplete. When i use a local variable as source it
I'm using jQueryUI's autocomplete , but for the following reasons I'd like to move
I have a site with a form with autocomplete using jquery. It works fine,
While styling the jQuery autocomplete plugin, I get the following HTML code hardwired to
I have the following jQuery code: $(document).ready(function(){ var ac_config = { source: autocomplete-delta.php, select:
Im having an issue with jquery autocomplete plugin. the textbox im using wont populate

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.