Hi there.
How can I acceess objects(divs) that were dynamically generated.
I mean DIVS that were not present in output when $(document).ready(function()
started.
If I do:
$('#click_me').click(function() {
$('#container').append('<div id="clicker2">can you click on me?</div>');
});
$('#clicker2').click(function() {
alert('hurray, it works');
});
the clicker2 won't work
How can I fix it? I'm intent to create more than one dynamically. and I want to assign Jquery actions to themt too.