Log in or register to post comments
Last post
Retrieval of editor1 data on submit
I've incorporated the ckeditor in my classic ASP website. However I've come across a little problem.

When I submit my form, I call a client-side javascript that examines a few things before submitting everything.

None of the text in my textarea can be retrieved. This might explain what's happening:


HTML code inside the data entry form:

<tr>
<td colspan=2 class="editButton" style="border-bottom:1px inset threedshadow;">
<textarea cols="80" id="eDiv" name="eDiv" rows="10"></textarea>
</td>
</tr>

Javascript that is run after hitting the Submit button:

function verifyForm ()
{
var numIndex = document.getdata.eMail_Types.selectedIndex,
strSubj = document.getdata.Subject.value,
strMsg;

var eDivText = document.getdata.eDiv.value

alert ( "We got " + eDivText );
.
.
.

The alert message only shows: We got

Thanks in advance,
Paul.
Re: Retrieval of editor1 data on submit
as an addendum to this. If I pre-populate the text are with initial text that shows up in my alert(). However I can't display any new added text. Very strange. Where is the additional text I've put inside the textarea?