Save and send form

In this example, text from Redactor will be sent as a form when user clicks on Submit button. On a server side you’ll receive a variable POST with a name content.

Code

<!--form -->
<form action="/server-script/" method="post">

    <!-- element -->
    <textarea id="content" name="content"></textarea>

    <!-- submit button -->
    <button>Send</button>

</form>

<!-- call -->
<script>
$R('#content');
</script>