Re: [Proto-Scripty] Update tag</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=prototype-scriptaculous@googlegroups.com&q=from:%22Alex+Wallace%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Alex Wallace</span></span></a></span> <span class="date"><a href="/search?l=prototype-scriptaculous@googlegroups.com&q=date:20100213" rel="nofollow">Sat, 13 Feb 2010 08:02:11 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>Try using `window.document.title = "dynamic string";` which should update the title cleanly, and much faster than querying and updating the DOM.</pre><pre> 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 > <a rel="nofollow" href="http://groups.google.com/group/prototype-scriptaculous?hl=en">http://groups.google.com/group/prototype-scriptaculous?hl=en</a>. > > -- 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 <a rel="nofollow" href="http://groups.google.com/group/prototype-scriptaculous?hl=en">http://groups.google.com/group/prototype-scriptaculous?hl=en</a>. </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg10070.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#10078">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#10078">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg10071.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg10070.html">[Proto-Scripty] Update <title> tag</a></span> <span class="sender italic">JoJo</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [Proto-Scripty] Update <title> tag</span> <span class="sender italic">Alex Wallace</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: [Proto-Scripty] Update <title> tag"> <input type="hidden" name="msgid" value="e2a8ee8d1002130801l181da4c7v72a8354507d96287@mail.gmail.com"> <input type="hidden" name="relpath" value="prototype-scriptaculous@googlegroups.com/msg10078.html"> <input type="submit" value=" Alex Wallace "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="prototype-scriptaculous@googlegroups.com"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search prototype-scriptaculous"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/prototype-scriptaculous@googlegroups.com/">prototype-scriptaculous - all messages</a></li> <li class="icons-about"><a href="/prototype-scriptaculous@googlegroups.com/info.html">prototype-scriptaculous - about the list</a></li> <li class="icons-expand"><a href="/search?l=prototype-scriptaculous@googlegroups.com&q=subject:%22Re%5C%3A+%5C%5BProto%5C-Scripty%5C%5D+Update+%3Ctitle%3E+tag%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg10070.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg10071.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">e2a8ee8d1002130801l181da4c7v72a8354507d96287@mail.gmail.com</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9ce41410998f90ce',t:'MTc3MTE1MDg4Ng=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>