View Full Version : Element update() method

31 Oct 2009, 10:45 AM
Hi all,

If I got some anchors in a panel binded with click handlers, and replace the content of that panel's body with another piece of html using the update() (http://www.extjs.com/deploy/dev/docs/source/Element-more.html#method-Ext.Element-update) method, do I need to unbind these previously binded anchors?


31 Oct 2009, 11:04 AM

But don't bind listeners to anchors IN the element.

Simply has one listener on the Element and use the delegate option to filter listener activation to only fire on the type of element you want it to fire on.