SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Evangelist
    Join Date
    Oct 2001
    Location
    Texas
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Autocomplete combined select and text field

    Does anyone know an example or how to make a select box where a user can either type and it will autocomplete with a list similar to input autocompletes OR they can simply select from the select options.

    EXAMPLE

    Select box of states. The select is originally blank allowing a user to start typing say A and then all the 'A' states appear in the drop down etc as he/she keeps typing. I would also like the user to be able to simply click the down arrow and select a state if they don't know which ones are available.

    hopefully that makes sense. Thanks

  2. #2
    SitePoint Addict
    Join Date
    Jan 2007
    Location
    Romania
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can see a working example at http://www.comparior.com/.

  3. #3
    SitePoint Evangelist
    Join Date
    Oct 2001
    Location
    Texas
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not quite... Im looking for an autocomplete that the user could ALSO simply select the city like a normal select box would work.

    So it
    1) can autocomplete
    2) select a value

  4. #4
    SitePoint Evangelist
    Join Date
    Oct 2001
    Location
    Texas
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looking for something like this but doesnt require ASP.

    http://www.telerik.com/demos/aspnet/...DefaultCS.aspx

  5. #5
    SitePoint Evangelist
    Join Date
    Oct 2001
    Location
    Texas
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still havent found anything so i guess ill try writing one myself.

    Can someone point me in the direction of putting an image in the input field that is clickable (ie a down arrow aligned to the right)?

  6. #6
    SitePoint Evangelist
    Join Date
    Oct 2001
    Location
    Texas
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For those who are looking for something similar:

    http://www.dhtmlgoodies.com/index.ht...ditable_select

    However it doesnt have an autocomplete. Does anyone here know how I can make it into an autocomplete similar to this but show it with the same style as the first script? Thanks.
    Last edited by Wbmstr84; May 20, 2007 at 12:33.

  7. #7
    SitePoint Addict
    Join Date
    Jan 2007
    Location
    Romania
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From what I see on the page you linked to there is a download source link. Have you tried it?

  8. #8
    SitePoint Evangelist
    Join Date
    Oct 2001
    Location
    Texas
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ohh yeah I currently use that script. But im looking if anyone knows how to kind of combine them or know of one. That they can select an option like the first link or have it autocomplete like the second.

  9. #9
    SitePoint Member
    Join Date
    May 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    searching for the same thing...

    I'm searhing for the same thing. Basically, js that mimics the browser's url field (Firefox and IE both simultaneously offer the dropdown arrow and autocomplete). The code project demo is also the best example I found, but falls short. If you've implemented a solution, or made progress on one, I'd love to see it.


Bookmarks

Posting Permissions

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