Problem Reading Value from a drop down list populated with AJAX
        Posted  
        
            by mouthpiec
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by mouthpiec
        
        
        
        Published on 2010-04-10T13:27:23Z
        Indexed on 
            2010/04/10
            13:33 UTC
        
        
        Read the original article
        Hit count: 358
        
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?
© Stack Overflow or respective owner