I have a CheckBox like this
<td><%= Html.CheckBox("seleccionado", false, new { onclick = "SeleccionarItems();" })%></td>
Now, I want to call a specific action from my controller, and pass the value of checkBox How can I do that..
function SeleccionarItems() {
-- call method to controller and pass value
}
I would use jQuery to post to the controller:
http://api.jquery.com/jQuery.ajax/
Here is a tutorial that explains the whole process: Link