Perform action on all elements of certain class on page.


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

Hide all elements of class 'add_asset_link' on page.


Copy this code and paste it in your HTML
  1. $$('.add_asset_link').each(function(name) { name.hide() });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.