Expanding a row in a div-based table

Posted by magneticMonster on Stack Overflow See other posts from Stack Overflow or by magneticMonster
Published on 2010-06-16T16:11:38Z Indexed on 2010/06/16 16:12 UTC
Read the original article Hit count: 154

I have a stack of <div> elements that show a name. I'd like to include a + link off to the side that, when clicked, expands the <div> and adds more detailed information (from a RoR controller).

After poking around on the net, I found link_to_remote and related RoR stuff, but I can't seem to get the right combination to work together. Can someone point me to a tutorial or show what the controller and view interaction should look like?

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ruby-on-rails