i have some checkbox:
i.e:
<input type="checkbox" name="a" value="a" onclick="check(this)" />a
<input type="checkbox" name="b" value="b" onclick="check(this)" />b
<input type="checkbox" name="c" value="c" onclick="check(this)" />c
<input type="checkbox" name="d" value="a" onclick="check(this)" />a
if user select >= 2choices, the other checkbox become disable and < 2choices become enable.. so user max choose 2 choices.. if user not choose alert will show...
anybody can give a sample code like this.. i've try in googling but i can't find like this problem..
thanks,
Ardy Satria - forzadraco