Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Laravel – select dropdowns that filter results in a table ‘on change’

Spread the Knowledge

Hello,
I am working on an application that is kind of an eCommerce application that have a table of product and I want to add a filter that shows the products accordingly like, Product Category, price range, etc, and for that, I’m using a drop-down selector to filter the data and show it – without the user having to click on a submit button – and the results to be displayed automatically to the page. But I cannot seem to find a way to pass the “id”

the parameter to the laravel route (contained in the form action), which saves the option that the user chooses in the select dropdown.

I figure out that it’s possible if we use an ajax call to the database and show results according to the selected id, and also we can edit delete the products using same process of calling the product id,

This is my code uses JQuery to submit the form on menu change. Index.php

This is my routes file: // web.php (routes)

Route::get('/tours-dropdown/{id}', ['as' => 'bookings.toursDropDown', 'uses' => 'BookingsController@toursDropDownData']);

This is the file that runs the query and returns a result set to the view: //ProductController.php