lundi 29 mai 2017

laravel 5 dynamic dropdown in many to many relationship

I'm building an educational website and I want to create a dynamic dropdown depending on other dropdown. I have many to many relationship between Branchs table and Semestrs table and that's brought me to a third table with Ids(pivot),the models and the migration are all set. How can I create a dynamic dropdown depending on select for a branch and load only semesters related to this one? please help!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2scX067
via IFTTT

Aucun commentaire:

Enregistrer un commentaire