Hi,

> ...if you
> register an observer on the 'dom:load' event in a constructor
> (initialize) thats supposed to fire one of the object methods (like
> 'this.recolour()') it will end up as an infinite loop in IE6, IE7 and
> IE8...

Can you post a small, self-contained, complete example demonstrating
the problem?  (Perhaps using http://pastie.org for formatting.)
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available

On Jul 30, 9:21 am, Eirik <korkon...@gmail.com> wrote:
> I encountered this error in all versions of IE8 without non-alpha IDs.
> After a lot of debugging and head scratching i discovered that if you
> register an observer on the 'dom:load' event in a constructor
> (initialize) thats supposed to fire one of the object methods (like
> 'this.recolour()') it will end up as an infinite loop in IE6, IE7 and
> IE8 causing IE to report a stack overflow and invalid argument at this
> line.
>
> This is the closest i could find to a thread on this problem, so i am
> writing up my discoveries here just in case other developers encounter
> this.
>
> This behavior was present in Prototype 1.6.0 and at least 16.1rc3,
> these are the versions I've worked with.
>
> Best regards,
> Eirik
>
> On Jul 23, 1:28 pm, Jeff <jtaylor...@gmail.com> wrote:
>
>
>
> > We've having this exact error with IE8 and it's always related to
> > developers using element IDs that begin with non-Alpha characters.
> > Doing something like adding and underscore to the id fixes the
> > problem.
>
> > On Jul 14, 6:37 am, adamski <adam.elemen...@gmail.com> wrote:
>
> > > We're now going through the enjoyable task of getting our app working
> > > in IE, 6-8 we are aiming for.
>
> > > We just downloaded the latest prototype RC3, which seems to fix a few
> > > errors, however, I am getting this error on page load, IE8 only:
>
> > > Message: Invalid argument.
> > > Line: 4501
> > > Char: 9
> > > Code: 0
> > > URI:http://bgp.brightgreen.local/javascripts/prototype.js?1247565795
>
> > > and also from scriptaculous effects.js:
>
> > > Message: Exception thrown and not caught
> > > Line: 485
> > > Char: 24
> > > Code: 0
> > > URI:http://bgp.brightgreen.local/javascripts/effects.js
>
> > > Anyone else come across these?
--~--~---------~--~----~------------~-------~--~----~
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 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to