One last comment, just to be clear:
The way my page posts the form data is this: On the drop-down menus, I have an onchange event handler that calls a javascript function:
<SELECT name="LocationID" id="LocationID" onchange="SubmitThis(this)">
The Javascript function looks like this: I have to change the action because normally the form would submit to another page
function SubmitThis(theObject)
{
if(theObject.options[theObject.selectedIndex].value != "")
{
document.AddEvent.action = "AddEvent.asp"; <-- this is the page we are currently on
document.AddEvent.submit();
return true;
}
}
So I'm basically changing the action and simply submitting the form, via Javascript.
Then, when the form is submitted, at the top of my code I just assign the CE Editor's text to a variable.
gBody = Request.Form("Body") <-- this is the ID of the CE Editor in question.
This is the code for the Editor:
content = gBody
Dim editor
Set editor = New CuteEditor
editor.ID = "Body"
editor.Text = content
editor.MaxHTMLLength = 2000
editor.FilesPath = "/CuteEditor_Files"
editor.ImageGalleryPath = "/EventImages/"
'Body.Setting("security:ImageGalleryPath")= "/uploads"
'editor.MaxImageSize = 5000
editor.AutoConfigure = "Minimal"
editor.TemplateItemList = "netspell,Bold,Italic,Underline,JustifyLeft,JustifyCenter,JustifyRight"
editor.Width = 400
editor.Height = 200
editor.Draw()
Just wanted to be clear about it.
Thanks.