Hi
Any help will be appreciated. Download the editor yesterday and I now want to add it to some of my pages.
Currently I have the follwing in one of the pages where I would like to use the editor instead:
<TEXTAREA name="DESCRIPTION" cols="70" rows="14" class="form" onKeyDown="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);" onKeyUp="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);"><%=(rsDataEdit.Fields.Item("DAT_DESCRIPTION").Value)%></TEXTAREA>
I will replace it with:
<%
Set oFCKeditor = New FCKeditor
oFCKeditor.ToolbarSet = "Basic"
oFCKeditor.Value = (rsDataEdit.Fields.Item("DAT_DESCRIPTION").Value) 'This is retieved from a database
oFCKeditor.CreateFCKeditor "DESCRIPTION", 300, 80
%>
My question is this:
How can I add the "onKeyDown="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);" onKeyUp="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);"" from my original code to the new code?
Thanks in advance for any help or ideas provided.
Regards from a sunny South Africa
Johan
Any help will be appreciated. Download the editor yesterday and I now want to add it to some of my pages.
Currently I have the follwing in one of the pages where I would like to use the editor instead:
<TEXTAREA name="DESCRIPTION" cols="70" rows="14" class="form" onKeyDown="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);" onKeyUp="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);"><%=(rsDataEdit.Fields.Item("DAT_DESCRIPTION").Value)%></TEXTAREA>
I will replace it with:
<%
Set oFCKeditor = New FCKeditor
oFCKeditor.ToolbarSet = "Basic"
oFCKeditor.Value = (rsDataEdit.Fields.Item("DAT_DESCRIPTION").Value) 'This is retieved from a database
oFCKeditor.CreateFCKeditor "DESCRIPTION", 300, 80
%>
My question is this:
How can I add the "onKeyDown="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);" onKeyUp="textCounter(this.form.DESCRIPTION,this.form.remLen,6500);"" from my original code to the new code?
Thanks in advance for any help or ideas provided.
Regards from a sunny South Africa
Johan