I study Ajax and I have the problem.
For example, my markup is
<div id='ajax-container'>
..
<div class='some-class-with-handler'>
..
</div>
..
</div>
And I have the onClick-handler for .some-class-with-handler-block
$(document).ready(function() {
..
$('.some-class-with-handler').click(function(){
..
});
..
}
Then Ajax overload everything in #ajax-container-block, but .some-class-with-handler-block is still included in the new content of #ajax-container-block. At the same time onClick handler isn't bind to the new .some-class-with-handler-block. How can I rebuild this binding?