I am on mootools.net/docs for $$ for 1.2
Are you referring to an older version?

On Sat, Feb 7, 2009 at 9:34 AM, Thierry bela nanga <[email protected]> wrote:

> this is completely wrong dear,
>
> some methods of Element are usable with Elements
>
> $$ return an instance of Elements, and then
>
> $$().addEvent() IS the good syntax,
>
> see the docs about Elements for more details
>
>
>
>
>
> On Sat, Feb 7, 2009 at 3:21 PM, Itay Moav <[email protected]>wrote:
>
>> $$('cbtab46 h2.tab').addEvent....
>>
>> The $$ returns an ARRAY of element, not an ELEMENT.
>>
>> var ELMS=$$('cbtab46 h2.tab');
>> var len= ELMS.length;
>> for(var i=0;i<len;i++){
>> ELMS[i].addEvent(......);
>> }
>>
>> You can also use each, but I prefer not to obscure loops in my code.
>>
>>
>> On Sat, Feb 7, 2009 at 1:39 AM, Ayan Debnath <[email protected]> wrote:
>>
>>> Error is NO ERROR and NOR ANY EVENT FIRE.
>>> if I do - alert(e) then returns false....
>>>
>>> BTW, I am using mootools 1.1
>>>
>>>
>>>
>>>
>>> On Sat, Feb 7, 2009 at 12:10 PM, Sanford Whiteman <
>>> [email protected]> wrote:
>>>
>>>>
>>>> > I know... but something error.....
>>>>
>>>> OK, what error?
>>>>
>>>> Do you have an example page we can look at?
>>>>
>>>> --Sandy
>>>>
>>>>
>>>
>>>
>>> --
>>> Ayan Debnath
>>> Future iOsoft Technology. INDIA
>>> http://www.gigahertz.net.in
>>>
>>
>>
>
>
> --
> fax : (+33) 08 26 51 94 51
>

Reply via email to