Hi, I was wondering if there was a way of accessing the code that is currently attached to an element via Event.Observe. I could swear I achieved it before, but for the life of me can''t remember. Got some elements forgetting their behaviour (well, a whole page in fact) and need to see if it''s a Prototype issue or something else completely random. Seems to happen when I run two nested Ajax.Requests, not had a problem with that before though, just trying to gather information. Thanks in advance for any help, I''m probably being a dullard! - Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Psaldorn
2008-Jan-28 13:46 UTC
Re: Viewing an element''s attached Event.Observe Behaviour?
Apparently, just plonking an Ajax-called HTML dump onto the end of the main page''s div resulted in much gooeiness. Use document.createElement()/appendChild() THEN .innerHTML kids! Thanks anyway people --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---