473,584 Members | 2,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Type ahead functionality for combo boxes

Hi All,

I am new to this group and this is my first mail to the group.

I have a requirement wherein we need to support type ahead
functionality for combo boxes.

For e.g. Say we have 5 entries in combo box "1, 23, 14, 18, 4".
The default functionality of combobox is, whenever I press 1 from key
board, it will take me to first entry in combo box which starts with
"1". Next time when I press 1 again then it will take me to second
entry starting with 1 (i.e. 14).

My requirement is whenever user presses 1,4 one after the other it
should take me to the entry starts with 14 (and not to the entry starts
with 4).

The sample html code is

<html>
<head>
</head>
<body>
<table>
<tr align=left>
<td>
<select>
<option selected name = "1" >1</option>
<option value = "23" >23</option>
<option value = "14" >14</option>
<option value = "18" >18</option>
<option value = "4" >4</option>
</select>
</td>
</tr>
</table>
</body>
</html>

Mar 15 '06 #1
2 4232
VK

tuffs wrote:
Hi All,

I am new to this group and this is my first mail to the group.

I have a requirement wherein we need to support type ahead
functionality for combo boxes.

For e.g. Say we have 5 entries in combo box "1, 23, 14, 18, 4".
The default functionality of combobox is, whenever I press 1 from key
board, it will take me to first entry in combo box which starts with
"1". Next time when I press 1 again then it will take me to second
entry starting with 1 (i.e. 14).

My requirement is whenever user presses 1,4 one after the other it
should take me to the entry starts with 14 (and not to the entry starts
with 4).


You may look at:
<http://www.oreillynet. com/pub/a/javascript/2003/09/03/dannygoodman.ht ml>

Mar 15 '06 #2
tuffs wrote:
Hi All,

I am new to this group and this is my first mail to the group.

I have a requirement wherein we need to support type ahead
functionality for combo boxes.

For e.g. Say we have 5 entries in combo box "1, 23, 14, 18, 4".
The default functionality of combobox is, whenever I press 1 from key
board, it will take me to first entry in combo box which starts with
"1". Next time when I press 1 again then it will take me to second
entry starting with 1 (i.e. 14).

My requirement is whenever user presses 1,4 one after the other it
should take me to the entry starts with 14 (and not to the entry starts
with 4).
Start with something like this:

<URL:http://www.mattkruse.c om/javascript/autocomplete/>
Follow this thread:

<URL:
http://groups.google.com/group/comp....86b9c3db9dd5cd


--
Rob
Mar 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3312
by: FZ | last post by:
Hi Gang, I was wondering if a generous person might be able to walk me through what I believe is a pretty simple task. I actually have significant Access experience, but I haven't done it in about 3 years and I'm more rusty than I thought I was. Anyway, in a nutshell: The scenario: 2 combo boxes (comboLastName and comboStateorProvince)...
0
3516
by: Krisa | last post by:
Hello all, I just discovered something (stop me if you've heard this before....) that was causing me a significant performance hit when opening a form with subforms. To speed up loading the form, I set the rowsources of its, and its subforms', combo boxes in the "Enter" events of the combo boxes. That's the standard trick for not...
3
1812
by: Phoon Chee Keong | last post by:
I have a VB6 app that I'm working on, and I want to change the behavior of my combo boxes. At present, if I put the control focus on one, then press, say, the 'S' key, its list goes to the first item that starts with the letter S. If I then press the letter 'A', it goes to the first item that starts with 'A'. I would rather that it went to the...
12
5121
by: Joel Byrd | last post by:
I'm having a little problem with using type-ahead functionality for an auto-suggest box. Sometimes, when I start to type something and the type-ahead shows up, the AJAX will send a request query using the value that *includes* the type-ahead value. In other words, say that I type in "ja" and the first listing that comes up is...
0
1588
by: Tom | last post by:
I have some very strange issues with combo boxes on a tab control. Here's the scenario: I have a Windows Forms form that has a tab control on it, with two (2) tabs. Tab 2 happens to have a number of text and combo boxes on it (in panels on the tab). These combos were originally simple drop down lists - i.e. you had to select from the list and...
6
3670
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
1
2902
by: Dave | last post by:
Hello all, First I'd like to apologize...This post was meant to be put in my previous post, but I tried many times without success to reply within my previous post. Now here goes... I have a main form (RD Form) with 4 combo boxes (i.e. cbo1, cbo2, etc) and a subdatasheet (the subform...let's call it subInfo) below the combo boxes on...
2
3264
by: Dave | last post by:
I have 3 tables of information feeding into 4 combo boxes on my main form (DR Form). I have as many list boxes (acting as text boxes) as there are fields in each one of the 3 tables. Once selecting from the combo box, I have all the combo boxes, using afterupdate, populating their respective list boxes. These text boxes are directly...
2
2916
beacon
by: beacon | last post by:
Hi everybody, I've searched and searched for the answers to these questions until I've turned blue in the face, so I finally decided to come here for some assistance. Here's the info I'm working with: MS Access 2003 Call log database using data access pages One table called tblCRS_Data_Log Primary key is CallNo An assortment of other...
0
7897
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7829
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8190
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7940
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8200
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5705
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5379
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2336
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1441
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.