Hi all,
I am new to ASP, i am making a page on which i have a list box and a textbox.
I have dynamically populated the list box from data on the server, what i want it that , when i select a option on the list box the corresponding value should come on the text box on its own, without having to press any other button..
eg : i have a table on the database with fields
'course name'
'course cost'
so when i select the course name from the listbox, the textbox should show the cost of the course.
What i figured out after googling for it was that i will have to reload the page on the "on change event " of the list box and get the value and fill the text box.didn't really understand that well.
Can somebody please tell me, how is that suppose to be done ??
I know Vbscript yet..
Thank's.......
I am new to ASP, i am making a page on which i have a list box and a textbox.
I have dynamically populated the list box from data on the server, what i want it that , when i select a option on the list box the corresponding value should come on the text box on its own, without having to press any other button..
eg : i have a table on the database with fields
'course name'
'course cost'
so when i select the course name from the listbox, the textbox should show the cost of the course.
What i figured out after googling for it was that i will have to reload the page on the "on change event " of the list box and get the value and fill the text box.didn't really understand that well.
Can somebody please tell me, how is that suppose to be done ??
I know Vbscript yet..
Thank's.......
Comment