...

View Full Version : check all in loop



muralikalpana
03-18-2010, 11:09 AM
how can i checkall each category.

<form name ="mylist">
<?

for($i=1;$i<=4;$i++)
{
for($j=1;$j<=4;$j++)
{
?>
<input type="checkbox" name="checkGroup<?=$j?>" value ="<?=$j?>"><?=$j?><br>
<?
}
?>

<input type="checkbox" name="all<?=$i?>" onClick="checkAll(checkGroup<?=$j?>,this)">Check/Uncheck All<br>
<?
}
?>
</form>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum