I have a form to edit a page, with its nice save button. Since it’s in
textile I’m writing a preview button which renders the content to html
and put it in a div.
But, how can I pass to the remote function the current content of the
text area?
The :with option isn’t very well documented… It works with
link_to_remote, but doesn’t seem to work with form_remote. It might
work with some button_* helpers, or whatever… I don’t know.