oh... it works thanks!
On Jan 16, 7:33 pm, "g.schlmm" <[email protected]> wrote: > try > > $$('.example').getLast() > > Elements is extended from Array > > fabiomcosta wrote: > > Is there a good way to get the last element from an array of elements? > > > Ex: > > > <div class="example">1</div> > > <div class="example">2</div> > > <div class="example">3</div> > > > $$('.example').pop().get('html') > > > would return 3. > > > Ok but is there a more 'mootools way' of doing it, instead of using pop > > ()? > > Like using a selector? which? :S
