np. tak.. nie jest to moze najelegantsze rozwiazanie, ale da ci ogolne pojecie:
Kod
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="javascript">
function odblokuj() {
document.form1.ch2.disabled = false;
document.form1.ch3.disabled = false;
document.form1.ch4.disabled = false;
};
</script>
</head>
<body>
<form action="" method="get" name="form1">
<input name="ch1" type="checkbox" value="ch1v" onclick="odblokuj()" />
<!-- wczesniej chcialem uzyc metody onChange, ale nie dziala w operze 7, a w IE z bledami -->
<input name="ch2" type="checkbox" disabled value="ch2v" />
<input name="ch3" type="checkbox" disabled value="ch3v" />
<input name="ch4" type="checkbox" disabled value="ch4v" />
</form>
</body>
</html>
dziala pod IE, firefoxem, opera 7/8, netscape 7/8, mozilla 1.7/1.8