bobhope
Posts: 5
|
| Posted: 09/07/2008, 3:14 PM |
|
I have a text area. When I try to attach the FckEditor (Client - Onload), I keep getting the error:
Expected ')'
The page is: http://www.suppsearch.com/NewPage2.php
The page loads but the status bar on the bottom of the page shows errors...plus the fckeditor is not working.
I am not sure if this is due to fckeditor or another issue on the page. Any help greatly appreciated. I have tried recreating the page from scratch and the same error.
Here is the html...
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<title>NewPage1</title>
<meta content="CodeCharge Studio 3.2.0.4" name="GENERATOR">
<link rel="stylesheet" type="text/css" href="../Styles/{CCS_Style}/Style.css">
<script language="JavaScript" type="text/javascript">
//Begin CCS script
//Include JSFunctions @1-88A9217D
</script>
<script language="JavaScript" src="../ClientI18N.php?file=Functions.js&locale={res:CCS_LocaleID}" type="text/javascript" charset="utf-8"></script>
<script language="JavaScript" type="text/javascript">
//End Include JSFunctions
//Include User Scripts @1-FCBB7EC4
</script>
<script language="JavaScript" src="/fckeditor/fckeditor.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
//End Include User Scripts
//page_supplement_supp_directions_OnLoad @5-0652F152
function page_supplement_supp_directions_OnLoad()
{
var result;
//End page_supplement_supp_directions_OnLoad
//Attach FCKeditor @6-2D7F87DD
var supplementsupp_directions_FCK = new FCKeditor(this.getAttribute("id"));
supplementsupp_directions_FCK.BasePath = "/fckeditor/";
supplementsupp_directions_FCK.ToolbarSet = "Default";
supplementsupp_directions_FCK.Height = "400";
supplementsupp_directions_FCK.Width = "600";
supplementsupp_directions_FCK.ReplaceTextarea();
//End Attach FCKeditor
//Close page_supplement_supp_directions_OnLoad @5-BC33A33A
return result;
}
//End Close page_supplement_supp_directions_OnLoad
//bind_events @1-E0A64925
function bind_events() {
if (document.forms["supplement"])check_and_bind('document.forms["supplement"].supp_directions','onLoad',page_supplement_supp_directions_OnLoad);
all_onload();
}
//End bind_events
window.onload = bind_events; //Assign bind_events @1-19F7B649
//End CCS script
</script>
</head>
<body>
<!-- BEGIN Record supplement -->
<form name="{HTMLFormName}" action="{Action}" method="post">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top">
<table class="Header" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="HeaderLeft"><img src="../Styles/{CCS_Style}/Images/Spacer.gif" border="0"></td>
<th>Add/Edit Supplement </th>
<td class="HeaderRight"><img src="../Styles/{CCS_Style}/Images/Spacer.gif" border="0"></td>
</tr>
</table>
<table class="Record" cellspacing="0" cellpadding="0">
<!-- BEGIN Error -->
<tr class="Error">
<td colspan="2">{Error}</td>
</tr>
<!-- END Error -->
<tr class="Controls">
<th>Supp Directions</th>
<td><textarea name="{supp_directions_Name}" id="supplementsupp_directions" rows="3" cols="50">{supp_directions}</textarea></td>
</tr>
<tr class="Bottom">
<td align="right" colspan="2">
<!-- BEGIN Button Button_Update --><input class="Button" type="submit" value="Submit" name="{Button_Name}"><!-- END Button Button_Update --></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<!-- END Record supplement --><br>
</body>
</html>
|
 |
 |
|