>
>
>
> There are too many permutations here to find correct way by trial and
> error ; )
>
> You haven't really said what it is you're trying to do, or at least
> what you expect event handler to be - its `this`, its `arguments`,
> etc.
>
> Perhaps, you want something like this:
>
> $('element1').observe('change', function(ev) {
>  document.fire('space:observer', { element: ev.element() });
> });
> ...
> document.observe('space:observer', function(ev) {
>  console.log('event: %o, element: %o', ev, ev.memo.element);
> });
>
> [...]
>
> --
> kangax
>

How always, you help is great kangax. Thanks a lot. this is exactly what I
wanted.
My apologies because the manual say exactly this, but I not see  before
this.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to