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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:12:28+00:00 2026-06-17T03:12:28+00:00

Currently I am using this plugin (example at the end of page) http://api.jqueryui.com/autocomplete/ If

  • 0

Currently I am using this plugin (example at the end of page)

http://api.jqueryui.com/autocomplete/

If I type “p”, then “php” come out.

How can I modify the plug-in so that if I type SPACE or “,” and then type “c”, then c++ will come out? Therefore, what I can have in the textbox is “php, c++”

  • 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-17T03:12:29+00:00Added an answer on June 17, 2026 at 3:12 am

    why you need “SPACE” or “,” when jquery autocomplete multiple does evrything for you.. check this out

    .autocomplete({
     ......
     select: function( event, ui ) {
          var terms = split( this.value );
          // remove the current input
          terms.pop();
          // add the selected item
          terms.push( ui.item.value );
          // add placeholder to get the comma-and-space at the end
          terms.push( "" );
          this.value = terms.join( ", " );
          return false;
        }
     });
    

    you can have a look to jquery autocomplete multiple example.. here is the link

    This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.

    you can click view source link in the example and check it out how they have done..

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

Sidebar

Related Questions

I am currently using the following plugin http://labs.skinkers.com/content/touchSwipe/demo/11_Image_gallery_example.php This plugin allows users to swipe
I'm currently using Ariel Flesler's scrollTo plugin for jQuery: http://flesler.blogspot.co.uk/2007/10/jqueryscrollto.html Example of it in
I'm using the Qt/MFC Migration Framework tool following this example: http://doc.qt.nokia.com/solutions/4/qtwinmigrate/winmigrate-qt-dll-example.html The dll I
I'm currently using this jQuery validate plugin and having an issue in IE where
I'm currently using the following jQuery plugin: jQuery OEmbed. This plugin works great in
I'm currently working with ckeditor and i'm using the jquery plugin for this editor
hope you can help me on this one, I'm currently using this: jQuery plugin:validation
I currently have a custom page in Wordpress (with the PHP Execution plugin). On
How is it possible to create a plugin using this code as an example:
I'm currently using the jquery dynamic form plugin to add form fields. http://sroucheray.org/blog/jquery-dynamic-form/ My

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.