Javascript check all checkboxes in a table / asp.net
<p>I have a table with rows in, and each row has a few <code>&lt;td&gt;</code> elements. The last element has a checkbox in.
They are in a <code>&lt;div&gt;</code> which is set to <code>runat="server"</code>. I have another checkbox on the page called "chkAll" that when clicked, I want to javascript check or uncheck all of the checkboxes in my table.</p>

<p>I'm not very good at Javascript, so I am not sure what to do. I added a javascript onclick method, and put document.getelementbyid and put in the div.clientID, but I wasnt sure what to do from there. Any ideas?</p>
