Either should work fine. No need for a variable though. It's what makes prototype so nice.
Sent from my phone so please pardon any spelling errors. On Jan 10, 2010, at 11:08 AM, bill <[email protected]> wrote: > DJ Mangus wrote: >> >> What is returned is the same thing you'd get if you used $('id'). >> Chain on .identify to get the Id from a DOM node. > Thank you. > as in: > > function clickHander (event) { > var id = event.element().identify ? > > or rather: > function clickHander (event) { > var element= event.element() > var id = element.identify() > > ? > ... > > -- > Bill Drescher > william {at} TechServSys {dot} com > -- > 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 [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 > .
-- 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 [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.
