[thelist] [JavaScript] IE: attaching events to generated content

Christian Heilmann codepo8 at gmail.com
Thu Jan 18 18:32:52 CST 2007


> The old createElement() code has been superceded by changes from yesterday, but here's a sketch of the logic I was using:

Especially for generated content, Event Delegation works wonders:
http://icant.co.uk/sandbox/eventdelegation/

HTH
Chris


-- 
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/



More information about the thelist mailing list