assuming your field is called Content, so the instance of soEditor is
called soEditorContent, then this line should do it:
soEditorContent.changeText("whatever you want to insert goes in here");
Duncan Cumming
IT Manager
http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600
Creative solutions in a technical world
----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------
"Giles
Roadnight" To: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED] cc:
ght.name> Subject: [ cf-dev ] So Editor Lite
03/17/2003
01:47 PM
Please
respond to
dev
Hi Guys.
I am using soEditor light to edit text in the admin section of a website.
Is
it possible to insert text into the soEditor window using JavaScript?
Basically I want to list the images available and then insert the img tag
with the correct address for the image. Don't know if it complicates things
if the person is looking at the code or the WYSIWYG view.
Anyone tried this?
Thanks
Giles Roadnight
http://giles.roadnight.name
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]