Problem Reading Value from a drop down list populated with AJAX
- by mouthpiec
Hi,
I have a PHP page with two drop down lists. I am using AJAX to populate the second one according to the choice made of the first drop down list.
My problem is that when i am posting both values of the two dropdownlists to another php page in which an INSERT query is being made, the value of the second dropdown list is blank (as if no value was selected from the second drop down list).
Can you please take a look at this code and let me know what I am doing wrong?