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:
  1. <script language="JavaScript">
  2.  
  3.     function checkall()
  4.     {
  5.     for(i=0; i<document .FormName.elements.length; i++)
  6.     {
  7.     if(document.FormName.elements[i].type=="checkbox")
  8.     {
  9.     document.FormName.elements[i].checked=true;
  10.     }
  11.     }
  12.     }
  13.  
  14.     function uncheckall()
  15.     {
  16.     for(i=0; i<document.FormName.elements.length; i++)
  17.     {
  18.     if(document.FormName.elements[i].type=="checkbox")
  19.     {
  20.     document.FormName.elements[i].checked=false;
  21.     }
  22.     }
  23.     }
  24.  
  25.     </script>

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:
  1. <a href="javascript: void(0);" onclick="javascript: checkall();">Check All</a> / <a href="javascript: void(0);" onclick="javascript: uncheckall();">Uncheck All</a>

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:
  1. <form name="get_form_data" method="POST" action="....... blah blah blah

if you change the javascript lines to read
document.get_form_data.elements.....

Life will be bliss and you can click check and uncheck all afternoon long and watch the little checkmarks magically appear and disappear from your forms. Providing you with some entertainment while waiting for the impression of the keypad to subside from your forehead.

------------------------------
The dotster offers a high speed internet service to its customers. The rogers wireless phones are very popular among the phone services and is used many businesses. The businesses are constantly working out way to make their websites popular among the customers by having seo services. The sprint wireless uses the startlogic programming to produce efficient results for the customers.