On Nov 14, 4:17 pm, laurin1 <[EMAIL PROTECTED]> wrote: > I'm sorry. My brain is fried, it works on arrays with simple values, > but not arrays with Objects IN them. Mispoke. > > For instance, in IE and in Chrome, this works fine: > > $a = new Object(); > > $a['testme1'] = 'tested1'; > $a['testme2'] = 'tested2'; > $a['testme3'] = 'tested3'; > > $a.each(function($s){
This should throw a TypeError : ) as there's no `each` on `Object.prototype` > > alert($s); > > }); > > In IE, this works fine, but does not work in Chrome: How *exactly* does it not work? Errors, silently dies or does something else? > > $aEle = $('TicketOptions').getElementsByClassName('LoadChecks'); > > $aEle.each(function($s){ > > if($s != $sEle) $s.checked = false; > > }); -- kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---