I have seen several examples of how to mark and unmark all, but I have not seen how to mark a specific, see:
<asp:CheckBoxList ID="ChkAcoesListarGrupo" runat="server" RepeatDirection="Horizontal" Width="100%" >
<asp:ListItem Value="1">Novo</asp:ListItem>
<asp:ListItem Value="2">Atualizar</asp:ListItem>
<asp:ListItem Value="3">Excluir</asp:ListItem>
<asp:ListItem Value="4">Visualizar</asp:ListItem>
<asp:ListItem Value="5">Pesquisar</asp:ListItem>
</asp:CheckBoxList>
How do I make the item Visualizar
checked with jquery ?
It would look something like this:
$('#<%= ddlPerfil.ClientID %>').change(function (e) {
e.preventDefault();
//Aqui eu marcaria o item **Visualizar**
});