[Proto-Scripty] $$()

2010-07-30 Thread Yozefff
Question .. Let's say I have 100 input fields, type = text. I want to put a onblur on all of them and pointing to the same function. So I've used $$(input) and invoke a blur. This works .. but my question is .. will this generate 100 events? So will my memory get filled with 100 on blurr

[Proto-Scripty] getElementsBySelector search string

2009-10-30 Thread Yozefff
Ok, let's day I have 2 elements : input type='text' name='myname_1' and input type='text' name='myname_2' So now I want to get all the elements wich has a name starting with myname_ is this possible with getElementsBySelector? --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: getElementsBySelector search string

2009-10-30 Thread Yozefff
-2003/#selectors On Fri, Oct 30, 2009 at 10:49 AM, Yozefff yoze...@gmail.com wrote: Ok, let's day I have 2 elements : input type='text' name='myname_1' and input type='text' name='myname_2' So now I want to get all the elements wich has a name starting with myname_

[Proto-Scripty] Re: Observe div content change?

2009-04-23 Thread Yozefff
, 00:26, RobG rg...@iinet.net.au wrote: On Apr 22, 9:02 pm, Yozefff yoze...@gmail.com wrote: Is it possible to observe when the content of a DIV is changed? The W3C DOM 2 Events specification has an Interface MutationEvent for that purpose (and others). Support may vary across browsers

[Proto-Scripty] Observe div content change?

2009-04-22 Thread Yozefff
Is it possible to observe when the content of a DIV is changed? So for example, I update the innerHTML (ajax perhaps?) and some JS class is listening when the content is changed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Proto-Scripty] Re: Avoiding bubbleling

2009-01-26 Thread Yozefff
Yeah I had that problem also (http://www.partygek.nl .. see the carousel). What I did was something like this div id='container1' div id='logo'/div /div I put a mouseover and mouseout on container1. on mouseover and mouseout I check the fire element is a

[Proto-Scripty] Re: Dion Almaer: Why I often prefer Prototype Too

2009-01-23 Thread Yozefff
nice article .. for me .. I love Prototype as for building classes/objects. Thats for the programmer in me. For the designer in me, I use YUI. I don't like jquery as a gui framework, for some reason YUI does it for me. On Jan 22, 5:44 pm, Diodeus diod...@gmail.com wrote: An interesting read: