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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:44:26+00:00 2026-05-25T09:44:26+00:00

I need some jquery plugin as they use it on most flight booking sites

  • 0

I need some jquery plugin as they use it on most flight booking sites where you have to choose your departure/arrival airport from a combolist.

i had a look around, but i could not really find any good solution. I need a autocomplete combobox that will stay open until the user chooses a item from a list of possible values, and it must support some hidden id numbers that will be send instead of the text – the plugins on jquery usually only send the text-value.

Right now i use http://blog.idealmind.com.br/geral/simple-autocomplete-jquery-plugin/ – but the issue with this is that user can enter anything that is not on the list via keyboard.

Are there a better plugins out there i could use? i’m not really much of a jquery or js programmer myself…

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

    You have two different questions here.

    Sending hidden IDs should be done using an array of objects with both a value and label attribute in your source. You’ll need to use the select and focus options to support this. http://jqueryui.com/demos/autocomplete/#custom-data

    Forcing the user to select a valid option could be done a few ways. I like the idea of blanking the input box if the user types in an invalid option and then leaves the box. You can do this using the “change” option. This is what James’ code does too.

    Here is a working example with both features:
    http://jsfiddle.net/vZeHr/4/

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

Sidebar

Related Questions

I use a jquery validation plugin and I need to add some extra checking,
I'm working with jQuery for the first time and need some help. I have
Using ASP.NET MVC + jQuery : I need to use some values owned by
I need some jQuery plugin, tutorial or guidelines to create simple image gallery which
I'm using the jQuery Validation plugin on my forms. I have some groups of
I'm not really good at Javascript/jQuery yet, so I need some help. I have
I'm using Rails with the JQuery plugin, and have some really complicated validations for
I need some help finding a jQuery plugin which will allow me to display
I need some help with jQuery script again :-) Just trying to play with
Need some help about with Memcache. I have created a class and want 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.