Re: [Proto-Scripty] Re: understanding dom:loaded - using invoke('observe','click', function() {}); on a dynamic enumerables

2011-02-04 Thread Bertilo Wennergren
On Fri, Feb 4, 2011 at 17:36, Walter Lee Davis wrote: > The Prototype folks feel your pain, and have added a new "on" event handler > construct in 1.7 that encapsulates the deferred listener technique, I > believe. I haven't tried it yet, but the blog posts about it make it sound > like bee's kne

Re: [Proto-Scripty] Re: understanding dom:loaded - using invoke('observe','click', function() {}); on a dynamic enumerables

2011-02-04 Thread Walter Lee Davis
The Prototype folks feel your pain, and have added a new "on" event handler construct in 1.7 that encapsulates the deferred listener technique, I believe. I haven't tried it yet, but the blog posts about it make it sound like bee's knees on sliced bread! Walter On Feb 4, 2011, at 10:48 AM,

Re: [Proto-Scripty] Re: understanding dom:loaded - using invoke('observe','click', function() {}); on a dynamic enumerables

2011-02-04 Thread Bertilo Wennergren
On Fri, Feb 4, 2011 at 16:48, neorou wrote: > I think you answered my question in your first paragraph, namely about > the page knowing only about the elements existing inside an opening > and closing of an event firing. > Quite amazing how hard a concept that was for me to grasp from reading >

[Proto-Scripty] Re: understanding dom:loaded - using invoke('observe','click', function() {}); on a dynamic enumerables

2011-02-04 Thread neorou
Walter, I think you answered my question in your first paragraph, namely about the page knowing only about the elements existing inside an opening and closing of an event firing. Quite amazing how hard a concept that was for me to grasp from reading the Prototype API and tutorials pages. I guess