Updating dropdown list B when choosing from dropdown list A
hello,
I have a form with 2 dropdown lists A and B.
I am using bootstrap and Laravel. I want to populate dropdown list B relatively to the option chosen in dropdown list A. What is the best way to do so ?
Depends, is the content you want to populate them on the server? If it is and it's a lot you can send an ajax request when you select the first and on response populate the second.
@FrancescoZaffaroni@cent040
Thanks for your reply. I need to know how to use that inside my Laravel application. There are alot of examples online about using ajax, but using it the right way inside my Laravel controllers and view.blade.php is what I need to learn