That was it!

I swapped out the Element.remove for node.parentNode.remove and it
worked. Thanks so much, very helpful.

On 4/27/06, Siegfried Puchbauer <[EMAIL PROTECTED]> wrote:
> Using prototype 1.5.0_rc0?
>
> The problem is Element.cleanWhiteSpace() calls Element.remove() on empty
> textnodes. Element.remove tries to extend the element (Element.Methods) and
> IE doesn't support this....
>
> I've opened a ticket some time ago....
>
> http://dev.rubyonrails.org/ticket/4642
>
> There is also a simple workaround ...
>
> hth
>
>
> On 4/27/06, Jerod Venema <[EMAIL PROTECTED]> wrote:
> >
> > You happen to have that ID as a "name" attribute anywhere else in the
> page?
> >
> >
> >
> > On 4/27/06, Jason Hummel <[EMAIL PROTECTED] > wrote:
> >
> > > > What actually IS the parentnode? Perhaps its one of those "we'll
> render this
> > > > element tag implicitly in firefox" issues (a la <tbody>)?
> > >
> > > The parentnode is a div with an ID. I've got something crazy going on
> > > here. div.parentNode doesn't work, but div.parentNode.parentNode works
> > > fine. If I put the actual ID into the cleanWhitespace:
> > >
> > > Element.cleanWhitespace('myDiv');
> > >
> > > It doesn't work in IE, but putting in any other id and IE seems to
> > > execute it just fine. It doesn't seem to matter what is in the ID or
> > > what the name of the ID is.. I used the firefox view formatted source
> > > extension to grab all my rendered HTML and there doesn't seem to be
> > > any elements not closed or anything like that. I'll dig further.
> > > Thanks for the help everyone.
> > > _______________________________________________
> > > Rails-spinoffs mailing list
> > > Rails-spinoffs@lists.rubyonrails.org
> > >
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> > >
> >
> >
> >
> > _______________________________________________
> > Rails-spinoffs mailing list
> > Rails-spinoffs@lists.rubyonrails.org
> >
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
> >
> >
>
>
>
> --
> Mit freundlichen Grüßen
>
> Siegfried Puchbauer
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to