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 <p...@betterrpg.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to