... or at least I think it is!
All I want to be able to do is, using Javascript, take the HTML contents of FCKeditor and put them in to a textarea.
At the moment the relevant code is:
....
Should be simple ... but my brain's fried! Help!
Problem's in the Javascript - I can get the "to.value", just not "from.value"
All I want to be able to do is, using Javascript, take the HTML contents of FCKeditor and put them in to a textarea.
At the moment the relevant code is:
<script type="text/javascript"> function copyHtml(from,to) { to.value = from.value; } </script>
....
<FCKeditorV2:FCKeditor id="inputbox" BasePath="~/FCKeditor/" runat="server" />
<textarea id="htmlbox" onfocus="javascript:copyHtml(this.form.inputbox,this.form.htmlbox);" rows=10 cols=30></textarea>
Should be simple ... but my brain's fried! Help!
Problem's in the Javascript - I can get the "to.value", just not "from.value"
Re: Simple asp.net / FCKeditor / javascript question ...