Page 1 of 1

how to check all the checkboxes

Posted: Fri Jan 08, 2010 12:53 am
by venkatesh.svs
how to check all the checkboxes of only read messages.



Like inbox i have some records.
with in those records i have some read messages and some unread messages
i provide a status column like 'read' and 'unread' in the data base for that column.

now i want to check only the read messages

Re: how to check all the checkboxes

Posted: Fri Jan 08, 2010 3:36 am
by dejvos
I think, you have to use Javascript or do it on server side but server side solution is uglier - you may reload the page with checked attribute in your checkbox tag.

So I would use Javascript.