How can I use a lenght value for this script for body area. User is writing LONGEST entry ,and that's bad for database.
I tried like this
This is my code
thanks
I tried like this
oFCKeditor.lenght = "300";but it isnt working
This is my code
<script type="text/javascript">
<!--
var sBasePath = "./include/fckeditor/" ;
var sToolbar ;
var oFCKeditor = new FCKeditor( 'blogentry_body' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Height = "300" ;
if ( sToolbar != null )
oFCKeditor.ToolbarSet = sToolbar ;
oFCKeditor.Value = '' ;
oFCKeditor.Create() ;
//-->
</script>
{literal}
<script type="text/javascript">
<!--
function fill() {
window.document.preview.blogentry_title.value = window.document.info.blogentry_title.value;
var oEditor = FCKeditorAPI.GetInstance('blogentry_body');
window.document.preview.blogentry_body.value = oEditor.GetXHTML( false );
window.document.preview.blogentry_blogentrycat_id.value = window.document.info.blogentry_blogentrycat_id.options[window.document.info.blogentry_blogentrycat_id.selectedIndex].value;
}
//-->
</script>thanks

Re: LENGHT?
I must do it immediatly
Re: LENGHT?
http://forums.asp.net/p/40065/40065.aspx
Re: LENGHT?
I don't know enough english.So I didn't understand a lot of things.
Can you add a lenght function to my up code?
and I m using php , I didn't use anytime javascript before FCKEDITOR.
can you help me?