AjaxPostbackUrl Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.AjaxPostbackUrl Property

Specify a URL to process editor ajax requests and upload requests.

Example

<?php   
    $rte=new RichTextEditor();   
    $rte->Text="Type here"; 
    $rte->AjaxPostbackUrl="myAjaxPostback.php";   
    $rte->ID="Editor1";    
    $rte->MvcInit();
    echo $rte->GetString();  
    // use $_POST["Editor1"]to retrieve the data  
?> 

See Also

Editor Class | RTE Namespace