<div dir="ltr">Unfortunately, it still doesn't work. I'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"><<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>></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: 'document.title = "', self<br>
displayString,'";');<br>
<br>
<br>
<br>
</div>Murtaza Zaidi wrote<br>
<div class="">> Hi Bob,<br>
><br>
> It doesn't seem to work. The browser tab text remains the same. I'm using<br>
> an html anchor instead of a div. This is how I've implemented it:<br>
> html anchor<br>
> onClick: (Javascript.JSStream on: 'document.title = ', self<br>
> displayString,';');<br>
><br>
> Thanks,<br>
> Murtaza<br>
><br>
><br>
</div>> On Thu, Feb 27, 2014 at 3:13 PM, Bob Arning &lt;<br>
<br>
> arning315@<br>
<div class=""><br>
> &gt; wrote:<br>
><br>
>> This works:<br>
>><br>
>> html div<br>
>> onClick: (JSStream on: 'document.title = "a new title";');<br>
>> with: 'hello'.<br>
>><br>
>><br>
>> Cheers,<br>
>> Bob<br>
>><br>
>> On 2/27/14 12:45 PM, Murtaza Zaidi wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I needed to update the browser tab text dynamically depending on a click<br>
>> event. I know that I would need to modify the<br>
> <title><br>
> tag of the page but<br>
>> don't know how that could be done using seaside. Any help will be great.<br>
>><br>
>> Thanks,<br>
>> Murtaza<br>
>><br>
>><br>
>> _______________________________________________<br>
>> seaside mailing<br>
<br>
</div>> listseaside@.squeakfoundation<br>
<div class=""><br>
> ://<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> seaside mailing list<br>
>><br>
<br>
</div>> seaside@.squeakfoundation<br>
<div class=""><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>
>><br>
>><br>
><br>
> _______________________________________________<br>
> seaside mailing list<br>
<br>
</div>> seaside@.squeakfoundation<br>
<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>
<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>