fmh002
06-18-2003, 02:29 PM
hello
i have 1 drop down box: student id and 1 text box: student name on a web form.
the database (ms access) has the student id and student name fields in a table.
the drop down box and text box should get their values from the table's fields respectively.
i am ok with that (using asp) but my requirement is as follows:
once i select a studentid from the drop down box then automatically the textbox should be valued with the corresponding student name.
how can i do this using asp? or can javascript do the job too? i don't mind having the page refreshed.
thnx in advance,
fmh002 :)
i have 1 drop down box: student id and 1 text box: student name on a web form.
the database (ms access) has the student id and student name fields in a table.
the drop down box and text box should get their values from the table's fields respectively.
i am ok with that (using asp) but my requirement is as follows:
once i select a studentid from the drop down box then automatically the textbox should be valued with the corresponding student name.
how can i do this using asp? or can javascript do the job too? i don't mind having the page refreshed.
thnx in advance,
fmh002 :)