Web Connection 5.0
FCK Editor within Modal Dialog
03/16/2010
10:19:10 AM
2W10M4ALO Show this entire thread in new window
Gratar Image based on email address
From:
harvey mushman
To:
All 
Attachments:
None
I have placed an FckEditor control on a ModalDialog control. The modal dialog pops up with the show() command and everything looks fine.

I noticed the ID and NAME attributes of the TEXTAREA element now include the modal dialog name in a prefix... myModalDialog_FckEditor

So far all good...

Now I want to alter the value of hte text through a callback. Using the following

$('#myModalDialog_FckEditor').val('some text I fetched from the callback');

...which should work but the display value of hte editor does not change?

I also tried creating

var oEditor = new document.getElementById('myModalDialog_FckEditor');
oEditor.value = 'some new text';

and this failed as well.

Any ideas what might be wrong?

--hm