Try using `window.document.title = "dynamic string";` which should update
the title cleanly, and much faster than querying and updating the DOM.
My SWAG is that Internet Explorer reads the <title> tag, updates some
internal reference, and ignores the actual <title> tag from there on out.
Best,
Alex
On Fri, Feb 12, 2010 at 8:30 PM, JoJo <tokyot...@gmail.com> wrote:
> I want to update the title tag. This works in Firefox:
>
> $$('title').first().update('dynamic string');
>
> Do you know why there is a runtime error in Internet Explorer 8?
>
> --
> 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-scriptacul...@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>
--
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-scriptacul...@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.