I'm trying to create two instances of FCKEditor using this...
BECAUSE...I'm using xigla news manager and it uses ASP variables to pull the data from the database into the editor to be edited. I don't know anything about JS, but I would assume that this would work... but it doesn't... any ideas? I have two text areas... "summary" and "article".
Any Help Is Appreciated.
Joe Hickman
<script type="text/javascript"> window.onload = function() { var oFCKeditor = new FCKeditor("summary"); oFCKeditor.BasePath = "/articles/fckeditor/"; oFCKeditor.ReplaceTextarea(); } </script>
BECAUSE...I'm using xigla news manager and it uses ASP variables to pull the data from the database into the editor to be edited. I don't know anything about JS, but I would assume that this would work... but it doesn't... any ideas? I have two text areas... "summary" and "article".
<script type="text/javascript"> window.onload = function() { var oFCKeditor = new FCKeditor("summary"); var oFCKeditor = new FCKeditor("article"); oFCKeditor.BasePath = "/articles/fckeditor/"; oFCKeditor.ReplaceTextarea(); } </script>
Any Help Is Appreciated.
Joe Hickman
Re: Creating two instances of FCKEditor with Head Tag Javascript
Re: Creating two instances of FCKEditor with Head Tag Javascript