I want on select value in one combo the other will fill on same page

I Have two combo box And I want on select value in one combo the other will fill on same page
and the value come from database in both combos.

any idea

Thanks

Answer

Use JavaScript, preferably jQuery.

When the first value is selected, make an AJAX call to get the second value based on the selection. When the callback returns, fill in the second UI element.

Leave a Reply

Your email address will not be published. Required fields are marked *