Re: javascript is executing in IE

  •  10-26-2011, 2:42 PM

    Re: javascript is executing in IE

    it executes the script in IE, the editor loads the redirect URL inside its frame:
     
    - - - - - - - - - - - - - 
     
    <?php require_once "../cuteeditor_files/include_CuteEditor.php" ?>  
    <html>    
    <body>    
            <form id="form1" method="POST">    
                <?php    
                    $editor=new CuteEditor();    
                    $editor->Text="<script>window.location='http://www.cutesoft.net';</script>";    
                    $editor->ID="Editor1"; 
                    $editor->Draw();    
                ?>    
           </form>    
    </body>    
    </html>
     
View Complete Thread