RE: javascript -check all

2004-04-17 Thread Kruse, Matt
>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

Re: javascript -check all

2004-04-16 Thread Prakasan OK
  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

Re: javascript -check all

2004-04-16 Thread Andrey Rogov
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

javascript -check all

2004-04-16 Thread as as
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 -