On 15 February 2011 21:35, pipplo <[email protected]> wrote: > Thanks for the reply. > > I know I'll need a call to the server to save the changes. I guess I > meant do I need a call to the server to show/hide divs? Right now the > only way I know how to do it is use link_to_remote for an AJAX > action. That AJAX action does nothing but call a rjs template with > page.show or page.hide. > > It seems like if I'm just doing page.hide/show I should be able to do > that without a call to the server? > > Lets ignore the 'editable' form part. In general how would I hide/ > show a div on a button click for instance?
Use javascript. This is not really a Rails issue. I suggest finding some tutorials on javascript. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

