Please consider donating: a local project in memory of my daughter

Archive for the "behaviours" Tag

Poor man's JavaScript Behaviours

JavaScript behaviours are roughly defined as an event handler that is set once, then handled by elements that are created on the fly later on. For example, if I have a list of links referencing images which are loaded inline, adding an removing the links from this list would not require me to re-hook the event [...]