Either attach your events to the new elements when you create them, or use the "on" method of binding an event to a selector
http://api.jquery.com/on/[
^]
"on" works for elements created after the code is first run, but note it has a performance penalty.