I would like to ask a similar question.
I have 2 list items working together created using dynamic dropdowns, (which work OK).
If, on selecting the second, i want to show further information about my second choice, i can write a javascript function to set the value of my text box (or whatever) and fire this on an onchange event.
I want to ensure that the data is relevant to the choice i made with my second dropdown.
If I create an array from a recordset created in php with the appropriate values, how do i retrieve the correct value from the array using js?