I'm using event.observe to handle event handling and my aim is to have these in separate .js files and initiated through the dom:onload function when the pages is loaded instead of onclicks in the html markup.
I'm initializing additional event.observes by using oncomplete to attach new event.observes when the ajax.request is called/done( when loading separate pages dynamically into the page/dom). I find this method a bit difficult to overview. It feels like I've missed some basic function/method on how to dynamically add event.observe when loading additional pages. Are there any other, more efficient and simpler ways to control, build the event handling? Any hints appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---