>
> you can simplify your javascript this way
>
>
> $$('td a.delete').each(function(s){
> s.observe('click', confirmDelete);
> } );
>
Ok that worked. But now I'm very confused.
For years I've been intentionally giving anonymous functions to observers
because it seemed the work horse functions had no knowledge of the event
details unless it was passed directly to them via the anon function. I'm
now totally confused.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/prototype-scriptaculous/-/f-R60o2ysCUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.