Function on dinamically generated elements (new DOM) so
$("static selector").on('click', "dynamic selector", fn);