Skip to main content
MAHI
Known Participant
September 25, 2014
Question

CF11 CFTextArea of loading control but not working on IE10

  • September 25, 2014
  • 1 reply
  • 1181 views

Hi I am using CF11 on IE10 window server2012 with IIS8.0.

I am using cftextarea with basic toolbar, it loading the toolbar but when I try to select any control from tool bar it throws the below JavaScript error:

"SCRIPT5007: Unable to get property 'toLowerCase' of undefined or null reference

fckeditorcode_ie.js, line 30 character 416"

Please help me.........

Thanks in advance.

    This topic has been closed for replies.

    1 reply

    MAHI
    MAHIAuthor
    Known Participant
    September 26, 2014

    This is working perfectly on FireFox, Please someone help.

    Any update on this........................

    Anit Kumar Panda

    Anit_Kumar
    Community Manager
    Community Manager
    October 8, 2014

    Can you share any piece of code, i can quickly try? This looks like a closer bug. See Bug#3835071 - cftextarea Chrome Version 37.0.2062.124 m.

    Regards,

    Anit Kumar

    MAHI
    MAHIAuthor
    Known Participant
    October 14, 2014

    The below code which I am using for display CF Textarea:

    <html>

    <head>

    <title>Test CFTExtArea</title

    <meta http-equiv="X-UA-Compatible" content="IE=9" />

    </head>

    <body>

    <cfform>

    <cftextarea richtext="yes" toolbar="Basic" name="somefield"></cftextarea>

    <input type="Submit">

    </cfform>

    </body>

    </html>

    ------------------------------------------------------------

    Page source after execution

    <html>

    <head><script type="text/javascript">/* <![CDATA[ */_cf_loadingtexthtml="<img alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/>";

    _cf_contextpath="";

    _cf_ajaxscriptsrc="/CFIDE/scripts/ajax";

    _cf_jsonprefix='//';

    _cf_websocket_port=8577;

    _cf_flash_policy_port=1243;

    _cf_clientid='2C5F8369E70A853F8BE4C9D3265AF973';/* ]]> */</script><script type="text/javascript" src="/CFIDE/scripts/ajax/messages/cfmessage.js"></script>

    <script type="text/javascript" src="/CFIDE/scripts/ajax/package/cfajax.js"></script>

    <script type="text/javascript" src="/CFIDE/scripts/ajax/package/cfrichtexteditor.js"></script>

    <script type="text/javascript" src="/CFIDE/scripts/ajax/FCKeditor/fckeditor.js"></script>

    <script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>

    <script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>

    <title>Test CFTExtArea</title

    <meta http-equiv="X-UA-Compatible" content="IE=9" />

    <script type="text/javascript">/* <![CDATA[ */

      ColdFusion.Ajax.importTag('CFTEXTAREA');

    /* ]]> */</script>

    <script type="text/javascript">/* <![CDATA[ */

      _cf_richtext_init_1426314832727136=function()

      {

      ColdFusion.RichText.initialize('cf_textarea1426314832727135', 'somefield', '', '/CFIDE/scripts/ajax/FCKeditor/', null, null, null, null, null, null, false, 'Basic', null, null, 'en');

      };ColdFusion.Event.registerOnLoad(_cf_richtext_init_1426314832727136);

    /* ]]> */</script>

    <script type="text/javascript">

    <!--

        _CF_checkCFForm_1 = function(_CF_this)

        {

            //reset on submit

            _CF_error_exists = false;

            _CF_error_messages = new Array();

            _CF_error_fields = new Object();

            _CF_FirstErrorField = null;

            //display error messages and return success

            if( _CF_error_exists )

            {

                if( _CF_error_messages.length > 0 )

                {

                    // show alert() message

                    _CF_onErrorAlert(_CF_error_messages);

                    // set focus to first form error, if the field supports js focus().

                    if( _CF_this[_CF_FirstErrorField].type == "text" )

                    { _CF_this[_CF_FirstErrorField].focus(); }

                }

                return false;

            }else {

                return true;

            }

        }

    //-->

    </script>

    </head>

    <body>

    <form name="CFForm_1" id="CFForm_1" action="&#x2f;ASR-test&#x2f;test.cfm" method="post" onsubmit="return _CF_checkCFForm_1(this)"><textarea name="somefield"  id="cf_textarea1426314832727135" ></textarea>

    <input type="Submit">

    </form>

    </body>

    </html>

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ================================================================================================

    Error getting while trying to select any control(e.g. Bold character tool) from the toolbar:

    SCRIPT5007: Unable to get property 'toLowerCase' of undefined or null reference

    fckeditorcode_ie.js, line 30 character 416