Like I said, this code works just fine in IE, but in Chrome, it does
not work.

>        $aEle = $('TicketOptions').getElementsByClassName('LoadChecks');
>        $aEle.each(function($s){
>                if($s != $sEle) $s.checked = false;
>        });

No error in the browser, but the JS debugger stops with:

uncaught exception TypeError: Object #<an Object> has no method 'each'

This is practically right out of the documentation for Prototype. I
use this all the time in IE. I don't understand what the problem is.
It seems that Chrome can retrieve the array of objects (elements), but
it will not apply the prototyped methods (any of them, each(), inspect
()), to these.
You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to