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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:02:38+00:00 2026-06-03T12:02:38+00:00

In a website cms I am using jquery autocomplete. I worked like a charm.

  • 0

In a website cms I am using jquery autocomplete. I worked like a charm. But suddenly, after a few weeks, it stopped working. Absolutely no code was changed in this period. I’m using jquery 1.6.2 and jquery ui 1.8.13.
Here’s the code:

$(function() {
    var artists = [<?php getArtists(); ?>];
    $("#artistsearch").autocomplete({
        source: artists,
        select: function(event, ui){
            $("#artistsearch").val(ui.item.artistsearch);
        },
        change: function(event, ui) { $("#search").submit(); }
    });
});

The array artists is a correct array, but too long to post here.
I hope that there is anyone over here that can help me out on this one.

Thanks in advance, Richard

I’ve got a form with a field artistsearch

Edit: Thanks people..

I didn’t receive notification mails, so a little late with my response.

The echo is IN the getArtist() function and delivers a nice array. As I stated in my original question the whole thing DID work, but suddenly stopped working, without changing any code. At first I thought that it could be an invalid item in the array, so I hardcoded a simple, 2 items array, and it also didn’t work.

Could it be a server issue? I realy am confused with this and I didn’t see this behavior in my careere before.

  • 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-06-03T12:02:45+00:00Added an answer on June 3, 2026 at 12:02 pm

    Problem solved!

    It turned out that some of the array-items where breaking the array.
    In the getArtist function I switched the quotes, e.g.:
    “‘” to ‘”‘

    Richard

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

Sidebar

Related Questions

I am using wordpress for my website like a CMS, also have installed ALL
I am using wordpress as my cms and building a website. I use Graphene
I want to create a php page on the website (CMS Wordpress), but I
We are looking to run one website using two CMS systems, so for all
I have a website and I have created the CMS for it using PHP
I am currently working on implementing a CMS for a website. I have very
I am getting confused about Google Map. I am writing a CMS website using
I have an existing ASP.NET MVC 3 website, and I installed N2 CMS using
im using wordpress as a CMS for my personal portfolio website. i want to
I have one web application with two projects: Project Website Using CMS; namespace Web

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.