posted 19 years ago
Thanx for ur reply.
I am not very much familiar with Javascript. So it will help if you elaborate more on this.
I need to write a function in Javascript for following specs:
1) Check/Uncheck all checkboxes on click of checkbox in the header.
2) The checkbox in the header shud be unchecked, if any of the checkboxes
is deslected.
3) If any of the checkbox is disabled, it shud not be checked.
4) It shud function as mentioned above even if there is just one row of checkbox in the table
The function i've pasted above is catering all the needs, except one issue with this func. If i've check box anywhere else on the page not belonging to the table, then also it is getting checked.
Pls help me in solving this problem.
TIA
Grishma.
[ June 23, 2005: Message edited by: Grishma Dube ]