I have a form where the user will type in some text in a text area.
this form gets submitted, all of the info gets pushed into a MySQL
The text area in question can have HTML and special formatting. I want
create a preview div for this.
I can use observe_field to preview the formatting as they type, but I’d
rather have it set so that they can click a “Preview” link and AJAX will
update the DIV after formatting the info in the text area.
My question is this: how do I get the information in the text_area to
AJAX action called by my preview link?