Rashar
12-04-2004, 08:29 PM
Hi,
Not sure if this is an asp or javascript question, but, I have a dropdown list box that populates a list of customers using asp code which calls the data from a sql server database. The table, tblUsers, contains Customer name and Customer number.
What I would like to do is to be able to select a customer name from the dropdown listbox, and have their customer number populate into a textbox which will be a hidden field.
I guess I could modify my table so that one column holds the cust name and number, but I would like to see if this is possible in asp first.
Thanks,
Rashar
Not sure if this is an asp or javascript question, but, I have a dropdown list box that populates a list of customers using asp code which calls the data from a sql server database. The table, tblUsers, contains Customer name and Customer number.
What I would like to do is to be able to select a customer name from the dropdown listbox, and have their customer number populate into a textbox which will be a hidden field.
I guess I could modify my table so that one column holds the cust name and number, but I would like to see if this is possible in asp first.
Thanks,
Rashar