Posted By

kizu on 12/29/08


Tagged

remove prototype links


Versions (?)

[Prototype] Remove all links with css selector


 / Published in: JavaScript
 

  1. // remove all links with name="ChunkyBacon"
  2. $$('a[name="ChunkyBacon"]').each(function(item) {
  3. item.insert({before: item.innerHTML}).remove();
  4. });

Report this snippet  

You need to login to post a comment.