G'day guys.
I have a textarea, and have inserted the id= code, but up the top of the php, don't know how to insert the javascript, without receiving this error:
Parse error: parse error, unexpected '.', expecting ',' or ';' in /home/kendal/public_html/stories.php on line 23
Please help!
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
That's the code I can't work out how to insert into the top of the php file?!
Thanks
I have a textarea, and have inserted the id= code, but up the top of the php, don't know how to insert the javascript, without receiving this error:
Parse error: parse error, unexpected '.', expecting ',' or ';' in /home/kendal/public_html/stories.php on line 23
Please help!
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
That's the code I can't work out how to insert into the top of the php file?!
Thanks