0

I am using a ckeditor in replacement with a textbox id txtEditorAnswer but on running I found the following error in these lines

x.tabIndex=x.config.tabIndex||x.element.getAttribute('tabindex')||0;

o.modes={wysiwyg:!!n.element.$.form};

if(x.elementMode==1&&y.is('textarea'))

var z=y.$.form&&new h(y.$.form);
3
  • and on which of those lines does it occur? Commented Oct 14, 2010 at 7:17
  • the error is jscript runtime error and it is in all these lines when I used a debugger.. Commented Oct 14, 2010 at 7:22
  • jscript runtime error object required. is the error message. Commented Oct 14, 2010 at 7:27

1 Answer 1

2

For the first line, I would guess that one of x, x.config, x.element or x.element.getAttribute, are undefined.

The other lines would follow a similar pattern. i.e. an object whose members you are trying to access, does not exist, or a function you are trying to call, does not exist.

As you are using a debugger, you should be able to inspect the variables to verify this.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.