[Seaside] Updating title tag dynamically

Bob Arning arning315 at comcast.net
Thu Feb 27 20:13:52 UTC 2014


This works:

     html div
         onClick: (JSStream on: 'document.title = "a new title";');
         with: 'hello'.


Cheers,
Bob

On 2/27/14 12:45 PM, Murtaza Zaidi wrote:
> Hi,
>
> I needed to update the browser tab text dynamically depending on a 
> click event. I know that I would need to modify the <title> tag of the 
> page but don't know how that could be done using seaside. Any help 
> will be great.
>
> Thanks,
> Murtaza
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20140227/f5a56b57/attachment.htm


More information about the seaside mailing list