W3C home > Mailing lists > Public > www-svg@w3.org > October 2005

SVG - DOM function calls not working in FireFox 1.5b2

From: Bebs Berteh <berteh@hotmail.com>
Date: Fri, 28 Oct 2005 16:32:53 +0200
Message-ID: <BAY7-F16C66C919D87D4E01A5358C36B0@phx.gbl>
To: www-svg@w3.org


I'd like to access the "uncles" elements of a give element in an svg file 
using DOM tree with javascript; the 2 following calls don't work, in both 
cases "element" is a "svg:group" node.

var uncles = ((element.getParentNode()).getParentNode()).getChildNodes();

var uncles = element.getParentNode.getParentNode.getElementsByTagName('g');

Cay you help me fixing this, or give me some hint on where I can get debug 
information in FireFox?
Received on Friday, 28 October 2005 16:59:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:04 UTC