I am not seeing the error you describe here. It only triggers if I
click on the third radio, never when I click on the other two. Is
that in fact what you wanted? What browser are you in when you get
the alert from clicking any of the three radios?
Walter
On Feb 13, 2008, at 2:10 PM, Matthew Marksbury wrote:
> I am having an issue with an event getting attached to an entire radio
> button list, and not a single radio button when using Event.observe.
>
> Note that using Event.observe will create a click event handler for
> each radio button in the list, whereas, manually attaching the onclick
> handler within the HTML itself (i.e. onclick="alert('some logic goes
> here);" ), functions correctly.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---