Problem - Cute Editor adding <![CDATA[ in front of JQuery Code

  •  05-15-2009, 11:29 AM

    Problem - Cute Editor adding <![CDATA[ in front of JQuery Code

    Below is my original Code.  If I make any changes to the code below and click submit/post, Cute Editor adds <script type="text/javascript"><![CDATA[ and then finishes off with ]]></script>.  So basically after hitting submit it raps my JQuery code with the CDATA making it not work correctly.
     
    <script type="text/javascript">
    at_attach("attach_menu_p1", "attach_menu_c1", "hover", "y", "pointer");
    at_attach("attach_menu_p2", "attach_menu_c2", "hover", "y", "pointer");
    at_attach("attach_menu_p3", "attach_menu_c3", "hover", "y", "pointer");
    //at_attach("attach_menu_p4", "attach_menu_c4", "hover", "y", "pointer");
    at_attach("attach_menu_p5", "attach_menu_c5", "hover", "y", "pointer");
    //at_attach("attach_menu_p6", "attach_menu_c6", "hover", "y", "pointer");
    $(document).ready(function(){
    $("#attach_menu_c2").css("opacity","0.85");
    $("#attach_menu_c2").css("z-index","100000");
    $("#attach_menu_c3").css("opacity","0.85");
    $("#attach_menu_c3").css("z-index","100000");
    //$("#attach_menu_c4").css("opacity","0.85");
    //$("#attach_menu_c4").css("z-index","100000");
    $("#attach_menu_c5").css("opacity","0.85");
    $("#attach_menu_c5").css("z-index","100000");
    //$("#attach_menu_c6").css("opacity","0.85");
    //$("#attach_menu_c6").css("z-index","100000");
    });
    </script>
     
     Any way of turning this off?
     
View Complete Thread