<div dir="ltr">Unfortunately, it still doesn&#39;t work. I&#39;m updating the browser tab icon as well but in that case, I have an id to refer to. Is there a way to assign an id attribute to the title tag?<div><br></div><div>
Thanks,</div><div>Murtaza</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 4:32 PM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You need to add some double quotes in there.<br>
<br>
e.g.<br>
<div class=""><br>
onClick: (Javascript.JSStream on: &#39;document.title = &quot;&#39;, self<br>
displayString,&#39;&quot;;&#39;);<br>
<br>
<br>
<br>
</div>Murtaza Zaidi wrote<br>
<div class="">&gt; Hi Bob,<br>
&gt;<br>
&gt; It doesn&#39;t seem to work. The browser tab text remains the same. I&#39;m using<br>
&gt; an html anchor instead of a div. This is how I&#39;ve implemented it:<br>
&gt;           html anchor<br>
&gt; onClick: (Javascript.JSStream on: &#39;document.title = &#39;, self<br>
&gt; displayString,&#39;;&#39;);<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Murtaza<br>
&gt;<br>
&gt;<br>
</div>&gt; On Thu, Feb 27, 2014 at 3:13 PM, Bob Arning &amp;lt;<br>
<br>
&gt; arning315@<br>
<div class=""><br>
&gt; &amp;gt; wrote:<br>
&gt;<br>
&gt;&gt;  This works:<br>
&gt;&gt;<br>
&gt;&gt;     html div<br>
&gt;&gt;         onClick: (JSStream on: &#39;document.title = &quot;a new title&quot;;&#39;);<br>
&gt;&gt;         with: &#39;hello&#39;.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Bob<br>
&gt;&gt;<br>
&gt;&gt;  On 2/27/14 12:45 PM, Murtaza Zaidi wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt;  I needed to update the browser tab text dynamically depending on a click<br>
&gt;&gt; event. I know that I would need to modify the<br>
&gt; &lt;title&gt;<br>
&gt;  tag of the page but<br>
&gt;&gt; don&#39;t know how that could be done using seaside. Any help will be great.<br>
&gt;&gt;<br>
&gt;&gt;  Thanks,<br>
&gt;&gt; Murtaza<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing<br>
<br>
</div>&gt; listseaside@.squeakfoundation<br>
<div class=""><br>
&gt; ://<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt;<br>
<br>
</div>&gt; seaside@.squeakfoundation<br>
<div class=""><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
<br>
</div>&gt; seaside@.squeakfoundation<br>
<br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/Updating-title-tag-dynamically-tp4746804p4746848.html" target="_blank">http://forum.world.st/Updating-title-tag-dynamically-tp4746804p4746848.html</a><br>
Sent from the Seaside General mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br></div>