- From: Ruud Steltenpool <svg@steltenpower.com>
- Date: Mon, 09 Jun 2008 22:57:51 +0200
- To: www-svg@w3.org
>> 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