mardi 12 janvier 2021

Laravel dependent two dropdown

table1

here is my table1 and

table2

here is my table 2 where table1.id = table2.catid

Now in product entry view, I need two dropdowns selection. Second one is dependent from first one. When I select category named shoes from first drop down, available options would be female, male, infant shoes option in second dropdown. How can I do that in laravel 5.7? Do I need ajax? Thank you



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire