Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-27-2011, 10:40 AM   PM User | #1
mic2100
Regular Coder

 
mic2100's Avatar
 
Join Date: Feb 2006
Location: Scunthorpe
Posts: 562
Thanks: 15
Thanked 28 Times in 27 Posts
mic2100 is on a distinguished road
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.

Quote:
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
mic2100 is offline   Reply With Quote
Old 01-13-2012, 01:27 AM   PM User | #2
gatsby0121
New to the CF scene

 
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
gatsby0121 is an unknown quantity at this point
Did you ever figure this out? I'm having the same issue.
gatsby0121 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:43 AM.


Advertisement
Log in to turn off these ads.