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 GPosted Mar 9, 2018, 7:29 AM
AttiePosted Mar 9, 2018, 7:26 AM
Mangesh GPosted Mar 9, 2018, 7:22 AM
AttiePosted Mar 9, 2018, 7:16 AM
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/
AttiePosted Mar 9, 2018, 7:14 AM
Mangesh GPosted Mar 9, 2018, 7:07 AM
AttiePosted Mar 9, 2018, 7:00 AM
Mangesh GPosted Mar 9, 2018, 6:47 AM
{
$("#checkall").prop("checked", true);
}