Limit Checkbox amount
Posted
by streetparade
on Stack Overflow
See other posts from Stack Overflow
or by streetparade
Published on 2010-06-03T13:30:55Z
Indexed on
2010/06/03
14:04 UTC
Read the original article
Hit count: 316
I have 20 Checkboxes. I need to disable 16 Checkboxes, if 4 checkboxes are selected.
I tryed this begann with this jquery code
$("input[type=checkbox][name=cate]:checked").each(
function()
{
}
);
What i need is if a user selects 4 checkboxes then all other checkboxes should be disabled.
© Stack Overflow or respective owner