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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:29:59+00:00 2026-05-27T09:29:59+00:00

I am retriving Bing values from it’s api through this link: http://api.bing.net/qson.aspx?Query=s&Market=en-us&JsonType=callback&JsonCallback= Now when

  • 0

I am retriving Bing values from it’s api through this link:

http://api.bing.net/qson.aspx?Query=s&Market=en-us&JsonType=callback&JsonCallback=

Now when I parse the results on keyup and append them in the body it works but when I set the results on jQuery’s autocomplete it doesn’t.

Here is the example: http://jsfiddle.net/LkVcg/

NOTE: In the fiddle I’ve also included Yahoo’s auto suggest which uses the same method so that I can proof that it should work.

What I’m I doing wrong? How can I make the results of Bing to appear on jQuery’s autocomplete()?

  • 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-27T09:30:00+00:00Added an answer on May 27, 2026 at 9:30 am

    Here is a working version of the fiddle.

    There were 2 key changes:

    1. I set up the URL and parameters as in your “keyup” version. That fixed the 505.
    2. You were referencing “val.key” in the “success” handler instead of “val.Text” as in your “keyup” code.

    Thus:

    $("#bing_auto").autocomplete({
        source: function (request, response) {
            console.log("source");
            $.ajax({
                url: "http://api.bing.net/qson.aspx?Query=" + encodeURIComponent(request.term) + "&JsonType=callback&JsonCallback=?",
                dataType: "jsonp",
                /*data: {
                    "Query": request.term,
                    "JsonType": "callback",
                    "JsonCallback" : "?"
                },*/
    
    
                success: function (data) {
                    console.log("success!");
                    var suggestions = [];
                    $.each(data.SearchSuggestion.Section, function (i, val) {
                        console.log("suggestion: " + val.Text);
                        suggestions.push(val.Text);
                    });
                    response(suggestions);
    
                }
            });
        }
    });
    

    (Take out the “console.log()” calls if you like 🙂

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

Sidebar

Related Questions

I am retriving this content from ajax <div id=content> click on image to close<img
I am retriving data from database.TableName:Contacts. There are two fields of this table.First_Name and
I want to send some values from my iPhone application to an ASp.Net web
I have an object in retriving http post response from webserver. However unicode will
Whats this?? my query is: Doctrine_Query::create() ->select('rec.*') ->from('Records rec') ->execute(); Records table contains more
I am getting this exception while retriving data from address book. I have check
in Silverligh + RIA app, I am retriving date from mssql08 server, when it
When retrieving a lookup code value from a table, some folks do this... Dim
When retrieving values from a DataRow is it better to use the column name
Retreiving the URL http://www.google.com/reader/api/0/token returns a token, which is periodically updated. What's required to

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.