You can utilize the change() event handler that executes an AJAX function to pass the current selected category to a PHP file containing the code to query your database and then return the updated output to the client side via the success callback that is built into the AJAX function within jQuery.
Also, you should avoid using the same ID for multiple objects as the ID attribute is meant to be unique.
Post a Comment for "Get Values Of Dropdown Based On First Dropdown Selected"