hi
I'm using fckeditor 2.6.3 and to create it I used TEXTAREA but when I append some text to current fckeditor it doesn't get me new changes and show me only the old content
here is my code:
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
oFCKeditor.BasePath = "/fckeditor/" ;
oFCKeditor.ReplaceTextarea() ;
document.getElementById("MyTextarea").value="Enter your text here";
}
function btnSave_click()
{
alert(document.getElementById("MyTextarea").value);
}
</script>
<textarea id="MyTextarea" ></textarea>
Please help me
Thanks
I'm using fckeditor 2.6.3 and to create it I used TEXTAREA but when I append some text to current fckeditor it doesn't get me new changes and show me only the old content
here is my code:
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
oFCKeditor.BasePath = "/fckeditor/" ;
oFCKeditor.ReplaceTextarea() ;
document.getElementById("MyTextarea").value="Enter your text here";
}
function btnSave_click()
{
alert(document.getElementById("MyTextarea").value);
}
</script>
<textarea id="MyTextarea" ></textarea>
Please help me
Thanks