Checkboxes

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’ …

Check if the checkbox is checked or not. Read More »

Checkboxes and the logic behind updating them

My task for the day was to build checkboxes of all the categories available for the posts. One post may have multiple categories. The first thing to do was to build a form where the multiple checkboxes are dynamically available and add them to the post-category relationship table (add only the id of both post …

Checkboxes and the logic behind updating them Read More »