Re: Undefined JS variables when loading dialogs

  •  03-24-2011, 3:46 PM

    Re: Undefined JS variables when loading dialogs

    Dear
     
    http://phphtmledit.com/EnableAll.php , I tested this online demo, it works fine on my end. Can you reproduce it  on this online demo?
     
    Please save the following snippet to test.php and then run test.php:
     
    <?php include_once("cuteeditor_files/include_CuteEditor.php") ; ?>
    <html> 
        <head>
     </head>
        <body>  
      <form name="theForm" action="Get_HtmlContent.php" method="post" ID="Form1">
            <?php
                $editor=new CuteEditor();
                $editor->ID="Editor1";
                $editor->Text="Type here";
                $editor->EditorBodyStyle="font:normal 12px arial;";
                $editor->Draw();
                $editor=null;           
                //use $_POST["Editor1"]to retrieve the data
            ?>      
      </form>
     </body>
    </html>
     
    Please tell us the test result.
     
    Thank you for asking
View Complete Thread