Hello, Is there any way to send and event signal or simulate an event which is being observed via Event.observe? For example: Event.observe(link, ''click'', function(e) { ... }); Now, how would I go about sending the ''click'' signal to link? Thanks. -- Jesse E.I. Farmer e: jesse-h8Qh2m8E5SHQT0dZR+AlfA@public.gmane.org w: http://20bits.com --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
link.click() On 5/18/07, Jesse Farmer <farmerje-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hello, > > Is there any way to send and event signal or simulate an event which > is being observed via Event.observe? For example: > > Event.observe(link, ''click'', function(e) { ... }); > > Now, how would I go about sending the ''click'' signal to link? > > Thanks. > > -- > Jesse E.I. Farmer > e: jesse-h8Qh2m8E5SHQT0dZR+AlfA@public.gmane.org > w: http://20bits.com > > > >-- Ryan Gahl Principal, Manager Nth Penguin, LLC - Consulting http://www.nthpenguin.com -- Software Architect WebWidgetry.com / MashupStudio.com Future Home of the World''s First Complete Web Platform -- Inquire: 1-262-951-6727 Blog: http://www.someElement.com --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You are the best. :) Is this documented anywhere? I couldn''t find it for the life of me. On 5/18/07, Ryan Gahl <ryan.gahl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> link.click() > > > On 5/18/07, Jesse Farmer <farmerje-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > Hello, > > > > Is there any way to send and event signal or simulate an event which > > is being observed via Event.observe? For example: > > > > Event.observe(link, ''click'', function(e) { ... }); > > > > Now, how would I go about sending the ''click'' signal to link? > > > > Thanks. > > > > -- > > Jesse E.I. Farmer > > e: jesse-h8Qh2m8E5SHQT0dZR+AlfA@public.gmane.org > > w: http://20bits.com > > > > > > http://www.nthpenguin.com > > -- > > Software Architect > > WebWidgetry.com / MashupStudio.com > > Future Home of the World''s First Complete Web Platform > > -- > > Inquire: 1-262-951-6727 > > Blog: http://www.someElement.com > > > > > > >-- Jesse E.I. Farmer e: jesse-h8Qh2m8E5SHQT0dZR+AlfA@public.gmane.org w: http://20bits.com --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
So, I just now tried this. link is an extended HTMLElement, but link.click is undefined. Thoughts? On 5/18/07, Jesse Farmer <farmerje-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You are the best. :) > > Is this documented anywhere? I couldn''t find it for the life of me. > > On 5/18/07, Ryan Gahl <ryan.gahl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > link.click() > > > > > > On 5/18/07, Jesse Farmer <farmerje-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > Hello, > > > > > > Is there any way to send and event signal or simulate an event which > > > is being observed via Event.observe? For example: > > > > > > Event.observe(link, ''click'', function(e) { ... }); > > > > > > Now, how would I go about sending the ''click'' signal to link? > > > > > > Thanks. > > > > > > -- > > > Jesse E.I. Farmer > > > e: jesse-h8Qh2m8E5SHQT0dZR+AlfA@public.gmane.org > > > w: http://20bits.com > > > > > > > > > http://www.nthpenguin.com > > > -- > > > Software Architect > > > WebWidgetry.com / MashupStudio.com > > > Future Home of the World''s First Complete Web Platform > > > -- > > > Inquire: 1-262-951-6727 > > > Blog: http://www.someElement.com > > > > > > > > > > > > > > -- > Jesse E.I. Farmer > e: jesse-h8Qh2m8E5SHQT0dZR+AlfA@public.gmane.org > w: http://20bits.com >-- Jesse E.I. Farmer e: jesse-h8Qh2m8E5SHQT0dZR+AlfA@public.gmane.org w: http://20bits.com --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---