I am using FCKEditorv2. I want to get both the plain text as well as the text with the html formatting.
By using the ControlName.Value I get the text with HTML tags, how to get the text without html from the control.
By using the ControlName.Value I get the text with HTML tags, how to get the text without html from the control.
Re: How to get text with html and without html.
Re: How to get text with html and without html.
Re: How to get text with html and without html.
var htmlcontent = oEditor.GetHTML() ;
var strTagStrippedText = htmlcontent.replace(/<\/?[^>]+(>|$)/g, "");