My approach for attaching a listener is typically to obtain an array
of elements ('a' for example) ...
$$( id ).elmsByTag("a").each(
function(){ $$(
this.id).addEvent("click",function(){ **code
to handle click""}); }
);
Since I do so much of this, I thought I'd ask if there is a shorter
way to do this that
doesn't require an id on each element ...
Ex: $$( id ).elmsByTag("a").each( this.addEvent(evt,functionRef)
Thanks,
John Guerin