in rjs this is one way to reference an element by class within an element by id
Posted by Ken Barker about 1 year ago
# $$('#comments-11 .author')
page.select("##{@comment.dom_id} .author").first.visual_effect :highlight
Language Ruby / Tagged with rjs