The editor shows in both browsers but only the submit button in gecko doesn't work. I have tried the inline version as well as the textarea replacement.
I have multiple input area's, but just one fckeditor. The save button in the editor works fine as a submit button. Also for the other input area's. But the normal form submit button doesn't work for gecko browsers. (works for IE)
code (unimportant variables i changed to varx):
<head><title>Editing pageId:, name: , language: </title>
<script type="text/javascript" src="../fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function() {
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
var oFCKeditor = new FCKeditor( 'ContentNew' ) ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
</head>
<body bgcolor=#ffffff>
<form method="post" action="edited.php">
<table width=90% align=center>
<tr><td></td><td><input type='submit' value='Edit it!'></td></tr></table>
</form>
I have multiple input area's, but just one fckeditor. The save button in the editor works fine as a submit button. Also for the other input area's. But the normal form submit button doesn't work for gecko browsers. (works for IE)
code (unimportant variables i changed to varx):
<head><title>Editing pageId:, name: , language: </title>
<script type="text/javascript" src="../fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function() {
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
var oFCKeditor = new FCKeditor( 'ContentNew' ) ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
</head>
<body bgcolor=#ffffff>
<h2>Editing pageId: <?=$var?>, name: <?=$var?>, language: <?=$var?></h2>
<form method="post" action="edited.php">
<input type=hidden name="pageId" value="<?=$var?>">
<input type=hidden name="pageLanguage" value="<?=$var?>">
<table width=90% align=center>
<tr><td>Linkname Small:</td><td><input type=text name="var1" size=30 maxlength=25 value="<?=$var?>"></td></tr>
<tr><td>Linkname CAPITALS:</td><td><input type=text name="var2" size=30 maxlength=25 value="<?=$var?>"></td></tr>
<tr><td>Title:</td><td><input type=text name="var3" size=100 maxlength=100 value="<?=$var?>"></td></tr>
<tr><td>Content:</td><td><textarea id="ContentNew" name="ContentNew" cols="78" rows="20"><?=$var?></textarea></td></tr>
<tr><td>Hidden Description:</td><td><textarea name="var4" cols="78" rows="3"><?=$var?></textarea></td></tr>
<tr><td>Hidden Keywords:</td><td><textarea name="var5" cols="78" rows="3"><?=$var?></textarea></td></tr>
<tr><td></td><td><input type='submit' value='Edit it!'></td></tr></table>
</form>