On Mar 25, 5:54 pm, David Dashifen Kees <[EMAIL PROTECTED]> wrote:
> Sounds like all you need to do is something like this:
>
>     Event.observe($(id), "click", function() { /* put the function here
> */ });

I think you misunderstood my question. I have a "click" observer on a
tag registered already, but now I want to trigger the event via
javascript (as in not by clicking on the tag with the attached
observer).

Yes, what I am asking for sounds pretty hacky, but I do not want to
rewrite tons of js I did not write myself to begin with, so I am
willing to cut a corner here.

regards,
Lukas


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