I have a drop down menu which is populated from a database. The database contains, amongst other info, staff name, staff no.
The drop down displays the staff names.
On selecting the staff name required I need to store the appropriate staff no in a text box.
I know I need to use the Onchange function but I don't know how to code the function.
I have searched everywhere and not found any code which works.
Any help would be gratefully rec'd
