Advertisement
Java_Volume1 Controls/ Forms/ Graphics/ Menus #99615

Check All checkboxes

To check all check boxes on the web page

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
function gCheckAll(chk)
	{
	for (var i=0;i < document.forms[0].elements.length;i++)
		{
			var e = document.forms[0].elements[i];
			if (e.type == "checkbox")
			{
				e.checked = chk.checked
			}
		}
	}
Upload
Original Comments (3)
Recovered from Wayback Machine