single checkbox updates state of muliple checkboxes
<p>I have a group of checkboxes, one of them has a label of 'None'.
When This is ticked, I'd like the others to be disabled. If the 'None' checkbox is unchecked, then the checkboxes that were disabled, are enabled again.</p>

<p>I have the following code:</p>

<pre><code> $(document).ready(function(){
 $("#select_none").click(function() 
 {
 $('#select_blue').attr('disabled', true);
 $('#select_green').attr('disabled', true);
 $('#select_red').attr('disabled', true);
 $('#select_black').attr('disabled', true);     
 $('#select_white').attr('disabled', true);
 $('#select_yellow').attr('disabled', true);
 $('#select_pink).attr('disabled', true);

 });
});
</code></pre>

<p>This simply just disables if the checkbox has been clicked on, it doesn't toggle.</p>

<p>Could someone help me with the toggle functionality?</p>
