I have the modal with checkbox value and my problem is “how do i know the value has been checked on checkbox” and then how to send the checkbox values to laravel controller. I want a condition where the value contains 1 (active) when checked and 0 (not active) when notHow to know value is checked or no in javascript and Sended to Laravel Controller ?to solve this problem, it's actually very easy