Hola
GREGgraffin
A ver si este ejemplo te sirve de ayuda:
Código javascript
:
Ver original<html>
<head>
<script type="text/javascript">
function marcar(obj) {
chk = obj.parentNode.getElementsByTagName('input');
for (i=0; ele=chk[i]; i++)
ele.checked = obj.checked;
}
</script>
</head>
<body>
<div>
Marcar Renault: <input type="checkbox" onclick="marcar(this)" /><br />
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
</div>
<div>
Marcar Volvo: <input type="checkbox" onclick="marcar(this)" /><br />
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
</div>
</body>
</html>
Saludos,