aundro wrote:
> Hello,
>
> I've been looking on the web for a solution to this problem:
> I create a set of checkboxes, and 2 buttons:
> - one is labeled "All"
> - the other is labeled "None"
>
> Clicking "All" is supposed to check all the checkboxes, which it does
> (that's not rocket science
, but the 'onchange' event does not get
> triggered.
Maybe because it doesn't have to?

<checkbox> has one top level user input event: "onclick" (besides all
these onkeypress, onbeforeprint etc.)
IE has new event called "onpropertychange" which will be called if you
change the checkbox state:
<input type="checkbox" name="cb02" onpropertychange="myFunction(this)">
FF has some very obscure interface for programmatically generated
events discussed in my post here:
Posted by: VK
<http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/2602a35ef4a14ac1/50a2ac2da48b4df3>
But in this particular case an "artificial click" seems has no effect
(did not check this option through).
> Am I doing something inappropriate here?
You can do whatever you want in any way you want

I am just not clear why you need this two-tier scheme: 1) select 2)
trig onselect event to do something other ?
Why not just do it in one step:
checkboxes[i].checked = true;
someOtherActionWith(checkboxes[i]);
?