On Mon, Sep 14, 2009 at 10:36 PM, asgaroth.belem <[email protected]> wrote: > > Well for the last child Extended mootools array has a method called > getLast: > > var last = $('test') .getChildNodes().getLast(); > > I think $('test') .getChildren().getLast(); might work also, or you > can try the old way: > > var childs = $('test') .getChildNodes(); > var last = childs(childs.lenght-1); > > Alex, >
thanks. And the getLast() can do the work. -- I like python! UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/ UliWeb <<simple web framework>>: http://uliwebproject.appspot.com My Blog: http://hi.baidu.com/limodou
