Does anyone know if there is a way to prevent setValue from calling the onChange event with the slider? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I don''t see that slider observes any ''change'' events, only mousedown, mouseup and mousemove. -justin On 3/22/07, julieknoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <julieknoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Does anyone know if there is a way to prevent setValue from calling > the onChange event with the slider? > > Thanks. > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I don''t know if it''ll help, but if you can capture the event then you could call Event.stop(e) where "e" is the Event object. ''Course, this does''t stop it from creating a "change" event, but it will stop that "change" event from having an effect. -- Dash -- julieknoll-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> Does anyone know if there is a way to prevent setValue from calling > the onChange event with the slider? > > Thanks. > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---