Web Analytics Made Easy -
StatCounter How do I search with 2 or more chars within a drop down box - CodingForum

Announcement

Collapse
No announcement yet.

How do I search with 2 or more chars within a drop down box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I search with 2 or more chars within a drop down box


    Hi ,
    I need to search with 2 or more chars within a dropdown using javascript.
    As you already know , IE allows to searh using the first char within a dropdown by default ,but I need to include 2 or 3 chars in the search.
    eg: if a drop down has the following values
    "0411"
    "0221"
    "0331"

    I need to get to 0331 ,when I type '0' followed by '3' ,with the focus on the dropdown box.

    Thanks in Advance.

  • #2
    Hello, Have a look at this script here. Haven't tried it but from what I've read it works like a charm.

    http://www.codingforum.net/showthrea...&threadid=9865

    Basscyst
    Helping to build a bigger box. - Adam Matthews

    Comment


    • #3
      To get the latest code in that script, go to the last page or just click the Editable Type-ahead combo link in my sig. My links in the earlier posts were already broken.
      Glenn
      vBulletin Mods That Rock!

      Comment


      • #4
        Thanks .

        works like a charm.

        Comment

        Working...
        X