Miscellany
public text v1 · immutable<html>
<head>
<script type="text/javascript">
function checkall(value) {
for (i = 0; i < document.form.users.length; i++) {
document.form.users[i].checked = value;
}
}
</script>
</head>
<body>
<form name="form">
<input type="checkbox" id="users" value="1">
<input type="checkbox" id="users" value="2">
</form>
</body>
</html>