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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:11:49+00:00 2026-05-23T13:11:49+00:00

So I came up with this script that ajax calls google’s suggestions and JSONP

  • 0

So I came up with this script that ajax calls google’s suggestions and JSONP returns the search results. With help from Decad I managed to implement Autocomplete but it appears that I’m stuck on a minor problem which I’ve been trying hard to solve.

When ever I type a letter I get few results, if I select one of those results and rewrite another letter, I get results of the previous selection. It’s like its cached.

Here is the a working fiddle: http://jsfiddle.net/WUcpC/1/
and here is a preview of my problem: http://www.screenr.com/DKBs

Any suggestions and help is appreciated.
Thanks alot

  • 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-23T13:11:50+00:00Added an answer on May 23, 2026 at 1:11 pm

    Internet Explorer always caches AJAX calls, while other browsers behave differently. So we’d better tell the browser explicitly whether or not AJAX should be cached. With jQuery, we can accomplish this simply by typing:

    Try :

     $.ajaxSetup ({  
         cache: false  
     });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I make an AJAX request to a PHP script which returns a number from
I came across this shell script for OSX and I don't understand the following:
I came across this line in a MySQL script `other_validator` varchar(5000) NOT NULL DEFAULT
I recently came across this line in a PHP script: $_REQUEST['start_date']=$date; Is it allowed
Awhile ago I came across a script that basically fetched a list of countries/states
I've got this simple bash script that starts a server process. I want to
I think this is quite simple. I have a working AJAX Jquery script which
So, this is the script that has very kindly been given to me as
I have checked the suggestions that came up before posting, hope I didn't miss
I came across a script that parses HTTP_ACCEPT_LANGUAGE: http://www.thefutureoftheweb.com/blog/use-accept-language-header this script returns an ORDERED

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.