The documentation explains that to retrieve the posted data, use the following:
$sValue = stripslashes( $_POST['FCKeditor1'] ) ; // PHP version
However, how can I retrieve it prior to posting, via javascript?
I have tried but only returns the original data, not the edited data:
alert(document.getElementById('FCKeditor1').value); // javascript
Can anyone help?
Thanks!
Geoff
$sValue = stripslashes( $_POST['FCKeditor1'] ) ; // PHP version
However, how can I retrieve it prior to posting, via javascript?
I have tried but only returns the original data, not the edited data:
alert(document.getElementById('FCKeditor1').value); // javascript
Can anyone help?
Thanks!
Geoff