1 posts in topic
Flat View  Flat View

Posted By:   Rahul_Shirwadkar
Posted On:   Monday, May 26, 2003 10:05 PM

how can i check all checkboxes having [] in there names

Re: checkbox

Posted By:   Nitesh_Naveen  
Posted On:   Tuesday, May 27, 2003 03:08 AM

having [] in their names ???

guess what you want is to check all checkboxes with a particular name.
see this thread. Just tweek the code to change one of the conditions of the if as document.formName.elements[i].name.indexOf('grp')!=-1 instead of document.formName.elements[i].name != 'master' where grp is the common name/part of name for the check boxes you need to 'check'
About | Sitemap | Contact