Hmmm, yes I see from some examples I found. I'm starting to
understand.

For testing, I've changed the listener code to this:

$('link-list').addEvent('click:relay(a)', function(){
        alert('You clicked a link!');
});

Which is essentially the same as And in the page body:

...

<ul id="link-list">

( Dynamically added <li><a href="javascript: void();"> ... </a></li>
blocks... )

</ul>

Yet there is no alert. What am I missing?

Reply via email to