hi can any one help me how to populate dropdown box dynamically. i have two dropdownboxes.based on the value which i select in first dropdown the corresponding values in second drop down box has to come. i have to get both dropdown values from database.
Obviously you will have to capture the onChange event of the first drop down. Depending on the value of this drop down you will send the request to the server and populate the value in the second drop down. You can send the request asynchronously using Ajax etc or through simply form submit using Javascript. You can use JQuery or plain Javascript to capture onChange events etc