On Aug 3, 1:01 pm, Tom Gregory <[EMAIL PROTECTED]> wrote:
> Event.element returns an element.  Alert-ing it performs an implicit
> toString().

So, why not just call toString() explicitly if the implicit call
returns the string desired? Indeed:
Event.element(el).toString().match()

Does exactly what I need, and the explicit call seems to properly
disambiguate the use of .match to the one I was looking for. Moving on
to find the next challenge in my learning curve!

Many thanks,
Sean


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to