Select all li children from ul without the last-child


/ Published in: JavaScript
Save to your folder(s)

Mimic CSS for ie6+7


Copy this code and paste it in your HTML
  1. $$('ul.pipe > li:not(:last-child)').invoke('insert', {'after':' | '} );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.