After searching around the net looking for an example snippet of javascript that would check or uncheck all of a series of checkboxes on a form… the results from Google were good, however each ‘example’ assumed that you I actually had a good understanding of what you were reading or that you I might actually read it instead of just pasting the pieces you liked in… Obviously I did the latter and after 20 minutes of pounding my head on the keyboard figured out what I was doing wrong…
So for all of you code slammers, this one is for you.
[code]
function checkall()
{
for(i=0; i function uncheckall()
{
for(i=0; i Simple enough, look through each form element and either mark them checked or unchecked depending on the function being called. And of course in your markup [code] And now where I went wrong. If you actually read the JavaScript you'll see the lines document.FormName.elements..... Well, FormName must be specified! Look at your markup where
[/code]
Check All / Uncheck All
[/code]
[code]

