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

  • Home
  • SEARCH
  • 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 7056561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:52:54+00:00 2026-05-28T03:52:54+00:00

I am looking to create a search feature similar to google using jQuery. however,

  • 0

I am looking to create a search feature similar to google using jQuery. however, I am unsure of the name of one of its features.

The feature in question is the text prediction element.

eg. if I type jquery it shows in the input box “Jquery” as my input but then in grey it adds the text of the first result in the input box and allows the user to select this “predictive value”

I have searched high and low for the name of this functionality and a working example.

any help would be greatly appreciated

  • 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-28T03:52:55+00:00Added an answer on May 28, 2026 at 3:52 am

    You are looking for an auto complete feature. jQuery UI has an awesome autocomplete feature included in it.

    http://jqueryui.com/demos/autocomplete/

    The result of your search you can get from an array or a database table (thru a server page).It is quite simple to set up as below

    The below example is using an array as data source for the auto suggest items.

    $(function() {
            var availableTags = [
                "ActionScript",
                "AppleScript",
                "Asp",
                "BASIC",
                "C",
                "C++",
                "Clojure",
                "COBOL",
                "ColdFusion",
                "Erlang",
                "Fortran",
                "Groovy",
                "Haskell",
                "Java",
                "Scheme"
            ];
            $( "#tags" ).autocomplete({
                source: availableTags
            });
    

    The above code binds the textbox with id “tags” to the autocomplete function. we mentioned the source value as the name of our array where we stored different programming language names.

    Mostly, you may need to get data from a database, then you use an intermediate server page as datasource. this server page will get data from the data access layer and give you the result.

    $( "#tags" ).autocomplete({
                source: "searchtags.php",
                minLength: 2,
                select: function( event, ui ) {
                    log( ui.item ?
                        "Selected: " + ui.item.value + " aka " + ui.item.id :
                        "Nothing selected, input was " + this.value );
                }
            });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking to create a search function for my flash game website. One of
I am looking to create an expression tree by parsing xml using C#. The
I am looking to create a task profiler in WPF with an UI similar
I would like to create a search bar on the page that looks similar
I am looking for a way to search through every users profile using the
I am looking to create an HTML version of a JSON, through JavaScript/jQuery, specifically
I'm looking to create aAppleScript that when run will: Search the document for a
<a href=/search?hl=en&amp;pwst=1&amp;sa=X&amp;ei=RCPqTqkHycryA_bK_f0J&amp;ved=0CCUQvwUoAQ&amp;q=psychology&amp;spell=1 class=spell><b><i>psychology</i></b></a> Hi, I'm looking to create a regex which matches this anchor
I'm looking for a google search module that uses the 'Google Custom Search API'
I have a project to create a high traffic search engine similar to altavista.com.

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.