Check if the checkbox is checked or not.
As per my previos post, what I did was get all the categories, now I wanted to change the categories checkbox status using ajax. For this I had to get the category ID and the checkbox status using javascript. My previous Code What we are doing here is checking if the input class with ‘checkbox_id’ …