Modalpreview is a lightweight jQuery script that makes it possible to preview the textarea content in a modal window before submitting the form.
Modalpreview automatically adds a preview button next to the submit button that brings up a modal window containing the textarea content, without reloading the entire page. It converts line breaks to
and removes the tag to prevent hacking. Modalpreview can also strip HTML before rendering the preview.
Tested in Safari 3, Firefox 2, MSIE 6, MSIE 7, Opera 9