>but i ahve a jsp using struts that has a table with rows.each row has a
>check box.I have a checkbox at the top of the table, clicking which, i
>want all below checkboxes to be checked..has anyone implemented this
>code..
I have a javascript library which makes this functionality very easy to
imp
function checkAll(formName,field) {
var formtest = "document." + formName +"."+field;
var formObj= eval("document." + formName +"."+field);
var length = formObj.length;
if(length > 1){
for (i = 0; i < length ; i++)
formObj[i].c
function checkAll()
{
for ( var i=0; i Hi
aa> Probably slightly off topic
aa> but i ahve a jsp using struts that has a table with rows.each row has a check
box.I have a checkbox at the top of the table, clicking which, i want all below
checkboxes to be checked..has anyone
aa> implemented th
Hi
Probably slightly off topic
but i ahve a jsp using struts that has a table with rows.each row has a check box.I
have a checkbox at the top of the table, clicking which, i want all below checkboxes
to be checked..has anyone implemented this code..
Thanks much in advance,
sam
-
4 matches
Mail list logo