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

On Tue, Aug 17, 2010 at 12:35 PM, frederik heyninck
<[email protected]> wrote:
> 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