Hello,

Perhaps I'm missing something here, but if I set an event (say on a
link) which returns false.

Event.observe(link, 'click', function() { ...; return false;})

That false value doesn't seem to be used and my click is triggering
the action of following the href for the associated link.

How do I get the observe to actually use the returned function value
and not trigger the action?  Or do I have to manually chain the events
if I want to make use of the return value?

Thanks,
Andrew

--~--~---------~--~----~------------~-------~--~----~
 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