Maybe you can see to it by simply changing the style of your edit div from "display:none" to "display:block" using a simple javascript function if you don't like using javascript libraries.
On 16 fév, 14:57, pepe <[email protected]> wrote: > > Lets ignore the 'editable' form part. In general how would I hide/ > > show a div on a button click for instance? > > In addition to what Walter mentioned there is the 'toggle' > function:http://api.prototypejs.org/dom/Element/toggle/ -- 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.

