When I'm programming in APS I usually use string for whole output text (HTML code). Then I just get page template from DB, and replace specifics tags with output-text-strings.
outputString = "<p>some text</p>" (etc).
But what to do when I want place FCKeditor on specific place in that outputString?
For example (what I wanna use):
outputString = "<p>sometext</p>" & fckeditor & "<p>next text</p>"
Is it possible?
Fri, 11/04/2005 - 06:29
#1
RE: FCKeditor in ASP string
var FCKEditorString = ""
FCKEditorString = "<form id='theFormFCK' name='theFormFCK' action='something' method='post'>
<input type='hidden' id='FCKContents' name='FCKContents' value=''>
<input type='hidden' id='FCKContents___Config' value=''>
<br>
<input type='submit' name='storeFCKContents' value='Save'>
</form>
<div id='FCKEditor' name='FCKEditor'>
<iframe id='FCKContents___Frame' name='FCKContents___Frame' src='../../FCKeditor/editor/fckeditor.html?InstanceName=FCKContents&Toolbar=Forum' width='100%' height='200' frameborder='no' scrolling='no'>
</iframe>
</div>"
outputString = "<p>sometext</p>" & FCKEditorString & "<p>next text</p>"
// redRemedy
RE: FCKeditor in ASP string
Excelent answer - quickly, easy and complete. And what else? That works!

Thanks a lot!