Hello I'm new to laravel I was trying to find the solution but unsuccessful. I manage to get the selected value using ajax but I cant show results in the same view that I selected from. Let me explain what I want to achieve.
- User select the value(id) from dropdown (populated from DB)
- the value id need to be pass to controller get new array of a query result
- return an array to the same view with show what was selected in dropdown
Any suggestion I will appreciate.
Thank you.