new Element('li', {id: 'aaa',html:'Nieuws uit
uw regio:'}).inject($$('#nav ul')[0], 'top');

2010/8/17 frederik heyninck <[email protected]>

> I have this piece of code
>
> $$('#nav ul')[0].adopt(new Element('li', {id: 'aaa',html:'Nieuws uit
> uw regio:'}));
>
> And i want this li element the be the first of the list, how do i do
> this?
> At the moment it is the last of the list.
>
> Regards.
>

Reply via email to