Jump to content

Problem with Ajax in FCKeditor


tmyonline

Recommended Posts

Guys,

 

If any of you is familiar with the FCKeditor, please help.

 

My Ajax code works fine for other parts of my program but it fails in the FCKeditor. In particular, in my Ajax callback() function, I have:

 

document.getElementById("FCKeditor1").value = message.content;

 

where "FCKeditor1" is the id of the editor's text field found by examining the FCKeditor source code.

 

I have a feeling that it's not able to find this id "FCKeditor1". (A test on alert(message.content) returns the message as expected)

 

I appreciate any help. Thanks so much.

 

(The server side language I use is PHP)

Link to comment
https://forums.phpfreaks.com/topic/163087-problem-with-ajax-in-fckeditor/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.