Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder mic2100's Avatar
    Join Date
    Feb 2006
    Location
    Scunthorpe
    Posts
    562
    Thanks
    15
    Thanked 28 Times in 27 Posts

    IE function call error

    Hi,

    The Problem

    I get a error message only in IE when ever I try to call a function from an external file. I am using jQuery if that makes any difference and various plugins.

    Error: The value of the property '<function name>' is null or undefined, not a Function object.
    All the call work fine in FF, chrome, safari etc but for some reason I just can't get it to work with IE. This is getting annoying now, i have no idea what is causing it.

    here is an example:

    admin.js
    Code:
    function create_cleditor_admin_form(textarea_object)
    {
    	
    	$(textarea_object).cleditor({
    		height: 120,
    		controls:     // controls to add to the toolbar
    					  "bold italic underline | color highlight removeformat | bullets numbering | alignleft center alignright justify | undo redo | ",
    		useCSS:		  false				  
    	});	
    	
    }
    calling code
    Code:
    $(document).ready(function() {
    
    	try {
    		
    		create_cleditor_admin_form('textarea');
    
    	} catch(e) {
    		alert("Error: "+e.message);
    	}
    		
    });
    I have tried searching for this error on google and came up empty handed, surely it just something very stupid.

    Thanks in advance

  • #2
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did you ever figure this out? I'm having the same issue.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •