Hi,
i have a table which i need to save the checkbox without submit.
What should i do?
this is my code
<table id="example" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th class="text-center">No</th>
<th class="text-center">Name</th>
<th class="text-center">Age</th>
<th class="text-center">Email Status</th>
</tr>
</thead>
<tbody>
@foreach (var item in ViewBag.platform)
{
<tr>
<td>@item.id</td>
<td>@item.name</td>
<td>@item.age</td>
<td>@Html.CheckBox("emailstatus", false, new { id = "checkBoxID" })</td>
</tr>
}
</tbody>
</table>