Re: Why is document.title immutable ?

>> I'd like to set document.title

> Why don't you modify the textual content of the 'svg' element's
> <title> child, which the attribute is supposed to represent?

That is actually what i tried, but forgot one step in DOM traveling.
For Googling purposes, here's the working code: 
document.getElementsByTagNameNS("http://www.w3.org/2000/svg","title")[0].firstChild.nodeValue="myNewTitle";

Received on Monday, 9 June 2008 20:58:33 UTC