Repopulate dropdown - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Repopulate dropdown (/showthread.php?tid=80283) |
Repopulate dropdown - Lipe_Bogaci - 10-12-2021 Hi bros, plz, can anyone tell me how to repopulate the second dropdown after I select the first dropdown? the first dropdown takes data from DB tbl.warehouse -> id |code|name|is_active tbl.rack->rack_id|warehouse_id|name I'm getting the data for the warehouse, now I want to choose from options on the second dropdown of corresponding to the right warehouse RE: Repopulate dropdown - InsiteFX - 10-12-2021 codeigniter how to populate second dropdown list based on the first one using codeigniter Just convert it to CodeIniter 4. RE: Repopulate dropdown - Lipe_Bogaci - 10-15-2021 (10-12-2021, 01:24 AM)InsiteFX Wrote: codeigniter how to populate second dropdown list based on the first one using codeigniter RE: Repopulate dropdown - includebeer - 10-16-2021 Take 30 seconds to re-read your code: PHP Code: <?php echo base_url();?>warehouse/function get_rack_by_warehouse/' + warehouse_id, RE: Repopulate dropdown - Lipe_Bogaci - 10-17-2021 (10-16-2021, 07:22 AM)includebeer Wrote: Take 30 seconds to re-read your code: |