I am looking at creating something like this in ExtJS, it seems that jQuery has a very nice handy feature here.
http://www.bennadel.com/blog/1998-Us...-DOM-Nodes.htm
When I write the code like this, I get a weird error.
uncaught exception: Error listening for "ping". Element "undefined" doesn't exist.
The code is
Anyone have any ideas on how to achieve this?Code:freeNode = new Ext.Element('div'); freeNode.on('ping', function() {alert('You pinged me');});