Posted By

shapeshifta on 01/29/10


Tagged

prototype last-child


Versions (?)

Select all li children from ul without the last-child


 / Published in: JavaScript
 

Mimic CSS for ie6+7

  1. $$('ul.pipe > li:not(:last-child)').invoke('insert', {'after':' | '} );

Report this snippet  

You need to login to post a comment.