oopros,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script>
function Checkall(form){
var c = form.querySelectorAll('[type="checkbox"]');
for (var i = 1; i < c.length; i++){
c[i].checked = c[0].checked;
}
}
</script>
</head>
<body>
<form action="http://">
<label><input name="" type="checkbox" onclick="Checkall(this.form)">All</label>
<input name="" type="checkbox">
<input name="" type="checkbox">
</form>
</body>
</html>