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