In Rails' RJS Adapter,
page['id'] // $('id')
accesses an CSS-id,
page['id'].property // $('id').property
a property of it. But how can I access an array index, e.g.
page.select('ul').value_at(2) // $('id').select('ul')[2]
Is there any way of doing this without writing:
page << "$('id').select('ul')[2]"