Good Day
Yesterday I tried to ask a question but I think I failed to explained what is it that I clearly searching for. I want an uncheck/check all checkbox, that when clicked all the values in the selected checkboxes be stored into the database, when unchecked be removed. Currently I have the checkbox that i working only to check and uncheck but not doing anything to the database (SQL Server).
- Check/Uncheck All
- ="switch">
- "checkbox" id="checkall">
- class="slider round">
- "checkboxes" style="height: 500px;position:relative;border:1px solid darkgray">"div2" style="max-height:100%;overflow:auto;">"suburbsDiv">

Mangesh GRank #294 · 8.6K reputationPosted Mar 9, 2018, 2:29 AM EST
Mangesh GRank #294 · 8.6K reputationPosted Mar 9, 2018, 1:47 AM EST
{
$("#checkall").prop("checked", true);
}
Attie103 reputationPosted Mar 9, 2018, 2:00 AM EST
Mangesh GRank #294 · 8.6K reputationPosted Mar 9, 2018, 2:07 AM EST
Attie103 reputationPosted Mar 9, 2018, 2:14 AM EST
Attie103 reputationPosted Mar 9, 2018, 2:16 AM EST
Looking for something similar to what I saw in the blog; http://www.c-sharpcorner.com/UploadFile/145c93/update-database-on-checkbox-change-using-jquery-and-ajax/
Mangesh GRank #294 · 8.6K reputationPosted Mar 9, 2018, 2:22 AM EST
Attie103 reputationPosted Mar 9, 2018, 2:26 AM EST