Don't forget you could also just bind a click event to a parent object. That way any click in a child element, old or new, will bubble up and trigger the click event. In the event handler, just inspect event.target to see which child was clicked.
George