This demo is related to this post about Aspect Oriented Programming (AOP).

It requires Firefox and firebug to view its output. Click on each of the buttons and view the console output in firebug.

The text displayed is a log of each method in the YUI Dom Object as each method is called.It shows received arguments and return values