Skip to content


With YUI 3, how do I get the HTMLElement from a Node instance?

Alright, today’s post is short, but man this took me at least 30 minutes to figure out and I only realized it after joining the YUI 3 discussion group and searching for it.  There is a method Y.Node.getDOMNode.  Just that simple.  For some reason finding the documentation for static methods in the YUI documentation is always really hard.  I wish there was a way to see them separately.  Anyways, that’s all for today.

Posted in YUI.

Tagged with , .