Hi!
Before the form on my asp.net page is submitted I remove some style tags.
However on the server side (asp.net) when I get the value of the editor document the style tags are still there.
Can anyone see a problem with what I'm expecting out of this code? Any suggestions greatly appreciated.
Before the form on my asp.net page is submitted I remove some style tags.
function mysubmit() {
var FCK = FCKeditorAPI.GetInstance('FCKeditor1');
$(FCK.EditorDocument).find('link[href="../../CCKFStyles.css"]').each( function() { this.parentNode.removeChild(this); } );
alert(FCK.GetHTML());
}
...
<form id="docForm" name="docForm" runat="server" onsubmit="mysubmit();">
However on the server side (asp.net) when I get the value of the editor document the style tags are still there.
tw.WriteLine(FCKeditor1.Value);
Can anyone see a problem with what I'm expecting out of this code? Any suggestions greatly appreciated.

Re: asp.net Value vs EditorDocument
Phew!