Enabling and disabling checkboxes through javascript for example when I check chk1 and then chk2, chk3 and chk4 will be enabled and if I uncheck chk1 then chk2, chk3 and chk4 will be disabled through javascript?
here's my code:
<script type="text/javascript">
$('chkTAR').clicked(function(){
{
if($('chkTAR :checked').length == 2)
$('chkOasis, chkPOT').disabled = true;
else
$('chkOasis, chkPOT').disabled = false
});
</script>