Visit Mozilla.org

Talk:XUL Tutorial:Adding Methods to XBL-defined Elements

From MDC

Using parentNode in anonymous content will only work if that content is one level below its binding parent. getBindingParent will work in all situations. I'd fix this myself, but I don't know how to change the sample code.--Np 21:51, 2 February 2008 (PST)