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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:54:54+00:00 2026-06-10T15:54:54+00:00

Tokenizer: http://loopj.com/jquery-tokeninput/ shows a hint Type in search term when the user focuses on

  • 0

Tokenizer:

http://loopj.com/jquery-tokeninput/

shows a hint “Type in search term” when the user focuses on the input. Is it possible to do this with jQuery UI’s autocomplete? http://jqueryui.com/demos/autocomplete/

I’m using a remote source for my data, but I’m thinking maybe assign a temporary source of length 1 ([“Type in search term”, “”]) to autocomplete until a search is initiated?

  • 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-10T15:54:55+00:00Added an answer on June 10, 2026 at 3:54 pm

    Is this what you are looking for: Update demo http://jsfiddle.net/vWJdT/ *older => * Working demo http://jsfiddle.net/MQfEL/

    I reckon what you are looking for is this: http://loopj.com/jquery-tokeninput/

    Hope it fits your cause :)

    Script

      <script type='text/javascript' src="https://raw.github.com/loopj/jquery-tokeninput/master/src/jquery.tokeninput.js"></script>
    
    
    
      <link rel="stylesheet" type="text/css" href="http://loopj.com/jquery-tokeninput/styles/token-input.css">
    
    
    
    
      <link rel="stylesheet" type="text/css" href="http://loopj.com/jquery-tokeninput/styles/token-input-facebook.css">
    

    Code

      $(document).ready(function() {
                $("#demo-input-local-custom-formatters").tokenInput([{
                    "first_name": "Tats_innit",
                    "last_name": "Godfrey",
                    "email": "Tats_innit@mit.whatwhatwuthulk.edu",
                    "url": "https://si0.twimg.com/sticky/default_profile_images/default_profile_2_normal.png"
                },
                {
                    "first_name": "Andre",
                    "last_name": "Jackson",
                    "email": "andre.jackson@yahoo.com",
                    "url": "https://si0.twimg.com/sticky/default_profile_images/default_profile_2_normal.png"
                },
                {
                    "first_name": "Andre",
                    "last_name": "Jolly",
                    "email": "andre.jolly@uol.com.br",
                    "url": "https://si0.twimg.com/sticky/default_profile_images/default_profile_2_normal.png"
                },
                {
                    "first_name": "Andre",
                    "last_name": "Henderson",
                    "email": "andre.henderson@globo.com",
                    "url": "https://si0.twimg.com/sticky/default_profile_images/default_profile_2_normal.png"
                }
              ], {
                  propertyToSearch: "first_name",
                  resultsFormatter: function(item){ return "<li>" + "<img src='" + item.url + "' title='" + item.first_name + " " + item.last_name + "' height='25px' width='25px' />" + "<div style='display: inline-block; padding-left: 10px;'><div class='full_name'>" + item.first_name + " " + item.last_name + "</div><div class='email'>" + item.email + "</div></div></li>" },
                  tokenFormatter: function(item) { return "<li><p>" + item.first_name + " <b style='color: red'>" + item.last_name + "</b></p></li>" },
              });
            });​
    

    working image

    by the way i ain’t godfrey.

    enter image description here

    enter code here

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

Sidebar

Related Questions

I am using Jquery tokenizer as like facebook using the following plugin http://loopj.com/jquery-tokeninput/ which
Possible Duplicate: Tokenizing in Xquery Let string a = http://ontheland.com/letus/tag/present?page=20&type=0 , need to tokenize
I was enjoying using YARD a lot: http://www.ootl.org/yard/ http://code.google.com/p/yardparser/ http://www.codeproject.com/KB/recipes/yard-tokenizer.aspx I was able to
I wrote a tokenizer for HTTP messages in Java. It has a method nextToken()
According to this: http://code.activestate.com/lists/python-list/413540/ , tokenize.generate_tokens should be used and not tokenize.tokenize . This
String a =the STRING TOKENIZER CLASS ALLOWS an APPLICATION to BREAK a STRING into
I am writing a string tokenizer in Objective-C for an iPhone application . I
I am trying to write a tokenizer for Mustache in Perl. I can easily
I have used the String Tokenizer in Java. I wish to know if there
I am indexing some URIs in SOLR using the UAX29URLEmailTokenizerFactory tokenizer. The problem is

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.