Use the document object and a selector so the events are bound to dynamically created objects.