jQuery drop down list
Results 1 to 2 of 2

Thread: drop down list

  1. #1
    Senior Member
    Join Date
    Apr 2005
    Posts
    1,249

    drop down list

    Is it possible to have a user type text into a field (textbox) and have it auto populate the results? I know of auto complete

    What I want it a user to type in a Country, it will list results from my mysql DB but I want to post the country ID from the database not the country name, I know a drop down list allows me to post the value but a textbox wont have this value and will have the typed country name only.

    ideas?

  2. #2
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    Location
    General Systems Vehicle "Thrilled To Be Here"
    Posts
    21,862
    http://jqueryui.com/autocomplete/#combobox

    You will notice if you examine the source of that demonstration (or push the button saying "Show underlying select") that the apparent dropdown isn't a <select> element - it's just bound to one that's been hidden.
    THERE IS AS YET INSUFFICIENT DATA FOR A MEANINGFUL ANSWER
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •