Re: javascript is executing in IE

  •  10-24-2011, 1:44 AM

    Re: javascript is executing in IE

    Hi cosmonaut,
     
    Please try the example below, does it work for you?
     
    <?php require_once "cuteeditor_files/include_CuteEditor.php" ?>  

    <html>    
    <body>    
            <form id="form1" method="POST">    
                <?php    
                    $editor=new CuteEditor();    
                    $editor->Text="Type here";    
                    $editor->ID="Editor1";
                    $editor->Draw();    
                ?>    
           </form>    
    </body>    
    </html>
     
    On the demo page http://phphtmledit.com/EnableAll.php when you click on the save button, the page will post the content to http://phphtmledit.com/Get_HtmlContent.php, the script fired by this page (because the script added as the content in this page) not the editor.
     
    Regards,
     
    Ken
View Complete Thread