zwieback89
Programmer
Hi,
I have a text box. Below this I have a table where there
is a HTML table that stores in the person's first name,
person's last name, person's SSN in three different
columns. Rows are generated dynamically based on the no.
of records returned by the query. All the results in the
table are sorted by last_name
Whenever I type in last name in the text box with a letter
B, then how can I move highlight the first row that starts
showing last name with that letter. Then when I type in
the letter r, the row where there is a name starting with
Br then the first instance of Br row will get highlighted.
Then when I type in e, then name with Bre will get
highlighted. This process will continue till Brent is
encountered and the row with the last name Brent will get
highlighted.
I need to use Javascript to get this done. Once the name
is highlighted, then I click on it, a text box in another
ASP page is populated with the details of this person and
this window closes.
How to do the highlighting part of it ? Are there any
examples somewhere there is already something like this ?
Hope to hear soon on this issue.
Padmaja.
I have a text box. Below this I have a table where there
is a HTML table that stores in the person's first name,
person's last name, person's SSN in three different
columns. Rows are generated dynamically based on the no.
of records returned by the query. All the results in the
table are sorted by last_name
Whenever I type in last name in the text box with a letter
B, then how can I move highlight the first row that starts
showing last name with that letter. Then when I type in
the letter r, the row where there is a name starting with
Br then the first instance of Br row will get highlighted.
Then when I type in e, then name with Bre will get
highlighted. This process will continue till Brent is
encountered and the row with the last name Brent will get
highlighted.
I need to use Javascript to get this done. Once the name
is highlighted, then I click on it, a text box in another
ASP page is populated with the details of this person and
this window closes.
How to do the highlighting part of it ? Are there any
examples somewhere there is already something like this ?
Hope to hear soon on this issue.
Padmaja.