SSL error message in IE7 and IE8 upon control removal

  •  08-29-2012, 10:12 AM

    SSL error message in IE7 and IE8 upon control removal

    When removing the CuteEditor control from the DOM using JavaScript on an SSL connection, an "Insecure items" warning message is displayed by the browser.


    In the example provided, the main CuteEditor table is being removed.


    This behavour was not observed in IE9, Safari 5.1.7 or Chrome 21.0.1180.83. 


    Browsers affected: IE7, IE8.


    I have a workaround which is included in the example. You may, however, want to look at this to see what the underlying issue is.




    Daniel Barratt




     <%@ Page Language="C#" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

    <script runat="server">

        protected void Page_Load(object sender, EventArgs e)
            CuteEditor.Editor test = new CuteEditor.Editor();
            test.ID = "MyCuteEditor";

    <html xmlns="">
    <head runat="server">
        <script type="text/javascript">
            function removeCuteEditor() {

                var pd = document.getElementById('ParentDIV');
                var ce = document.getElementById('CE_MyCuteEditor_ID');

                var bUseBrokenMethod = confirm('Do you want to see the SSL error?');

                if (!bUseBrokenMethod) {
                    pd.innerHTML = '';
                else {
                    //this produces "insecure items (non-SSL)" message in IE7 and IE8

        <form id="form1" runat="server">
        <div runat="server" id="ParentDIV">
        <input type="button" value="Remove CuteEditor" onclick="removeCuteEditor();" />



View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems