$$ is valid 1.1.

You need to either be explicit in your details or throw up an example
page, as a number of things suggested will work.

On Feb 8, 1:47 pm, Ayan Debnath <[email protected]> wrote:
> Hi,
>
> I don't need any LOOP
> cbtab46 (that is cbtab*ID*) is unique in the page.
>
> Pls write a code for MOOTOOLS 1.1
>
> Ayan Debnath
>
>
>
> On Sun, Feb 8, 2009 at 11:26 PM, keif <[email protected]> wrote:
>
> > An easier way to do this, instead of using the for loop:
>
> > $$('cbtab46 h2.tab').each(function(el){
> >  el.addEvent(......);
> > });
>
> > On Feb 7, 9:21 am, 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
>
> --
> Ayan Debnath
> Future iOsoft Technology. INDIAhttp://www.gigahertz.net.in

Reply via email to