Hi, Why are you calling $? $[1] is for extending elements or looking elements up by ID, it has nothing to do with ObjectRanges. The types it's documented to accept are String (when looking up by ID) and Element (when extending an element). If you just use days.each, I would expect it to work, since ObjectRange mixes in Enumerable.
[1] http://prototypejs.org/api/utility/dollar HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Apr 5, 11:18 pm, CeyloR <[email protected]> wrote: > Hello, > > I'm using .each to iterate over an array. This works fine and without > errors in Firefox but in Internet Explorer I get an error saying the > object doesn't support that method. Is this a known isue? > > This is the code I use : > > days = $R(1,31); > $(days).each(function(i){ > //some work to do for each day > > }); > > kind regards > > Ceylor --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
