I have a script that has the following event listener:

$(document.body).getElements('a.bookmark').addEvents({
        'click': function(){

                // Some code here.

                }
});


It listens for clicks on <a> elements in a <div> that is dynamically
updated by an Ajax script.

The problem is that after the <div> is dynamically updated, the
listener no longer catches the clicks, unless / until the page is
reloaded.

Is this the expected behavior?

Reply via email to